[jboss-dev-forums] [Design of POJO Server] - Re: Isolated classloader

adrian@jboss.org do-not-reply at jboss.com
Wed Jul 23 12:00:42 EDT 2008


For a real deployment you use META-INF/jboss-classloading.xml

For a standalone -beans.xml that is deployed by referencing its url

  | <deployment xmlns="urn:jboss:bean-deployer:2.0">
  | 
  |     <!-- beans in this file are loaded with this classloader -->
  | 
  |    <classloader><inject bean="whatever:0.0.0"/></classloader>
  | 
  |     <!-- Construct a scoped/isolated classloader from some/url -->
  |    <classloader xmlns="urn:jboss:classloader:1.0" 
  |                          name="whatever"
  |                          version="0.0.0"
  |                          domain="IsolatedTest"
  |                          parent-first="false">
  |       <root>some/url</root>
  |    </classloader>
  | 
  | </deployment>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166200#4166200

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166200



More information about the jboss-dev-forums mailing list