Community

How can I disable bean lifecycles per entire descriptor?

created by Zemian Deng in JBoss Microcontainer - View the full discussion

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

Start a new discussion in JBoss Microcontainer at Community