[jboss-jira] [JBoss JIRA] Closed: (JBAS-5355) @JMX lifecycle should be tied to POJO lifecycle
Adrian Brock (JIRA)
jira-events at lists.jboss.org
Fri May 16 09:02:24 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-5355?page=all ]
Adrian Brock closed JBAS-5355.
------------------------------
Resolution: Done
The MBean lifecycle is now tied to the POJO lifecycle.
i.e. ServiceController.start() is not invoked until the POJO is fully installed
meaning JMX dependencies will see the POJO in its full constructed state.
> @JMX lifecycle should be tied to POJO lifecycle
> -----------------------------------------------
>
> Key: JBAS-5355
> URL: http://jira.jboss.com/jira/browse/JBAS-5355
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: MicroContainer bus
> Reporter: Adrian Brock
> Assigned To: Adrian Brock
> Fix For: JBossAS-5.0.0.CR1
>
>
> The @JMX annotation should create a registration with the ServiceController that is driven by the POJO lifecycle.
> i.e. when create() is invoked on the POJO lifecycle it should move the state to CREATED in the legacy ServiceController
> but not re-invoke the create() method on the MBean.
> Similarly when create() is invoked from the JMX console, this should reallly re-target to the POJO lifecycle.
--
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