[jboss-dev-forums] [Design of POJO Server] - Re: Annotation for MC bean

anil.saldhana@jboss.com do-not-reply at jboss.com
Wed Apr 1 18:54:46 EDT 2009


"bstansberry at jboss.com" wrote : There may not be one anywhere. I don't think @Jndi actually works. (Not that the code doesn't work if the lifecycle-xxx declaration is there; just that applying the annotation doesn't currently do anything.)

I think the lifecycle declaration for JndiBinding does not exist. Until that happens, the annotation is not useful.

As I see it, the code for the lifecycle callbacks for JMX in the system folder are quite identical to the JMXCallback class.  

Kabir, there are two sets of callback classes (one in the system folder and the other is the JMXCallback).  The lifecycle declaration is for the former.  I guess lifecycle declaration can be for the latter alone (I am going to try it out on my annotation).

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222817#4222817

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222817



More information about the jboss-dev-forums mailing list