"anil.saldhana(a)jboss.com" wrote : "bstansberry(a)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.
|
This was something Scott started, not sure if it is used or not.
"anil.saldhana(a)jboss.com" wrote : 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).
Do you mean org.jboss.system.microcontainer.jmx.ServiceControllerXXXLifecycleCallback vs
org.jboss.aop.microcontainer.aspects.jmx.JMXLifecycleCallback? JMXLifecycleCallback was
the simple original version, the ServiceController ones are the next version for AS 5.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222953#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...