JBoss Community

Re: How to stop my WAR loading JBoss's provided 3rd party classes?

created by Ales Justin in JBoss Microcontainer - View the full discussion
so passing filters via array would probably work if it's implemented that way.

Yeah, array usage would work.

 

But unfortuantely <javabean> xml handling is too simplistic (just checked),

it doesn't support arrays -- by design we didn't over do it --> we have MC beans.

 

But you can always simply add your own jar with custom filter impls,

and then simple use <javabean> to instantiate them.

Anyway use of JavaOnlyClassFilter or EverythingClassFilter will still be an issue due to their private constructors.

Like I already said, this is simple to duplicate - just check how we do it.

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community