[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:10:25 EDT 2009


I am trying to write an annotation called as Password (which will basically specify a name of a property).  The PasswordCallback will basically read the annotation and then inject a password into the method configured in the annotation.  

http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/aspects/jndi/JndiLifecycleCallback.java

The JndiBindingCallback basically registers the target (mc bean) in JNDI.
The JMXCallback registers the bean in the MBean Server.

http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/aspects/jndi/JndiLifecycleCallback.java
http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/aspects/jmx/JMXLifecycleCallback.java

I applied it on a mc bean. I get nothing in the logs. I do not know whether it got applied. Break point unsuccessful.  I am trying to find the missing hook that binds the JMX annotation and the JMXCallback.

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

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



More information about the jboss-dev-forums mailing list