[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-655) Refactor @Service beans

Bill Burke (JIRA) jira-events at jboss.com
Tue Jul 18 15:33:11 EDT 2006


Refactor @Service beans
-----------------------

                 Key: EJBTHREE-655
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-655
             Project: EJB 3.0
          Issue Type: Task
            Reporter: Bill Burke
         Assigned To: Carlo de Wolf
             Fix For: EJB 3.0 RC9 - FD


Refactor @Service beans to fix a number of problems:

* magic methods for lifecycle methods:
  - create/start/stop/destroy
* lifecycle methods are not required to be in @Management (MBean) interface.
* @Management interface is not registered with the ServiceController (Controller in MC land).  It *IS* registered as a regular MBean though.
* If lifecycle methods exist on @Management interface, they must be intercepted on the container so that the appropriate Controler start/stop is done on the container.  This would mean that you have to specify a <bind> in the Service aspect domain in ejb3-interceptors-aop.xml




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list