[jboss-user] [JBoss Microcontainer] - How can I disable bean lifecycles per entire descriptor?

Zemian Deng do-not-reply at jboss.com
Thu Apr 8 09:11:43 EDT 2010

Zemian Deng [http://community.jboss.org/people/saltnlight5] created the discussion

"How can I disable bean lifecycles per entire descriptor?"

To view the discussion, visit: http://community.jboss.org/message/536275#536275


I have many pojos that contain a create method and I don't want MC  to call it during deployment. I understand we can use ignore attribute per bean to disable this lifecycle call like

<create method="stop" ignored="true"/>

but would it possible to ignored all beans under a entire descriptor deployment instead of individual bean?



Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100408/cc23b012/attachment.html 

More information about the jboss-user mailing list