[jboss-user] [JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?

Ales Justin do-not-reply at jboss.com
Tue Jan 4 14:36:10 EST 2011


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&containerType=14&container=2114]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110104/77eecf58/attachment.html 


More information about the jboss-user mailing list