Community

How can I disable bean lifecycles per entire descriptor?

reply from Zemian Deng in JBoss Microcontainer - View the full discussion

Ales,

 

Thanks for the providing the project link as ref. I think I understand what you're saying about using the BeanMetaDataFactory for grouping of beans method. I tried look into the jboss-threads-metadata, but I didn't see a sample  of descriptor using the ThreadsMetaData yet.

 

So I am still not clear as how would you apply the ignore rule to the entire group of beans. Would I need to programmatically disable this inside the BeanMetaDataFactory instance's implementation (like in ThreadsMetatData.java), or simply adding the <create method="create" ignore="true"> under the <my-group xmlns="urn:foo:bar:1.0"> in descriptor XML file would work?

 

Thanks,

/Z

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community