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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...