[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

--------------------------------------------------------------
Hi,

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?

Thanks,
/Z

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/536275#536275]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

-------------- 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