[jboss-user] [JBoss Microcontainer Users] - Re: Confused about POJO service

alesj do-not-reply at jboss.com
Thu Oct 8 06:55:46 EDT 2009


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



More information about the jboss-user mailing list