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

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Thu Jan 8 00:19:04 EST 2009


     [ https://jira.jboss.org/jira/browse/EJBTHREE-655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Lee Rubinger reopened EJBTHREE-655:
------------------------------------------

      Assignee: Andrew Lee Rubinger  (was: Carlo de Wolf)


Let's do some of the work defined by this issue:

* Lifecycle callbacks to the Singleton should be invoked by the container, and bound to container lifecycle
* Remove optionalMethodInvoke from the KernelAbstraction (ie. JBossASKernel in AS "ejb3" module)

> Refactor @Service beans
> -----------------------
>
>                 Key: EJBTHREE-655
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-655
>             Project: EJB 3.0
>          Issue Type: Task
>            Reporter: Bill Burke
>            Assignee: Andrew Lee Rubinger
>             Fix For: AS 4.2.0 GA
>
>
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list