Ales Justin [
http://community.jboss.org/people/alesj] created the discussion
"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"
To view the discussion, visit:
http://community.jboss.org/message/578801#578801
--------------------------------------------------------------
The optimal target would be either to allow for multiple filters
directly
You just need to javabean> the right filter instance. ;-)
e.g. <-- pseudo code -- I need to check this into more details (it's been a while
since I wrote this javabean' stuff :) )
<before-filter>
<javabean xmlns="urn:jboss:javabean:2.0"
class="org.jboss.classloader.plugins.filter.CombiningClassFilter">
<constructor>
<parameter>
<!-- some other filter missing here + some xml syntax -->
<javabean xmlns="urn:jboss:javabean:2.0"
class="org.jboss.classloader.plugins.filter.NegatingClassFilter">
<constructor>
<parameter>
<javabean xmlns="urn:jboss:javabean:2.0"
class="org.jboss.classloader.spi.filter.RecursivePackageClassFilter">
<constructor>
<parameter>org.hibernate</parameter>
</constructor>
</javabean>
</parameter>
</constructor>
</javabean>
</parameter>
</constructor>
</javabean>
</before-filter>
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/578801#578801]
Start a new discussion in JBoss Microcontainer at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]