Simply create a POJO - drop the MBean stuff - and place it any 
META-INF/somename-jboss-beans.xml.
See JBoss5 config files on how MC's schema looks like.

MC tries to execute create/start/stop/destroy parameterless methods on the bean 
by default if they exist.
So, just keep the start() and stop() and you're fine.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259329
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to