[jboss-jira] [JBoss JIRA] Commented: (JBAS-5355) @JMX lifecycle should be tied to POJO lifecycle

Adrian Brock (JIRA) jira-events at lists.jboss.org
Wed May 21 04:24:59 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBAS-5355?page=comments#action_12413477 ] 
            
Adrian Brock commented on JBAS-5355:
------------------------------------

Ok, I fixed this.

I also added a comment to the code explaining what looks like a redundant cast in JDK5
is necessary for compilation using JDK6

> @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