Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: Dynamically modify BaseClassLoader classpath?"

To view the discussion, visit: http://community.jboss.org/message/588323#588323

--------------------------------------------------------------
> How can I dynamically modify the BaseClassLoader classpath?  OR call an API 
> to set the default classpath at startup?So, how can I call something or set 
> something to make the BaseClassLoader pick up my jars...
You can add a new deployer in pre-CLASSLOADER phase, which would then 
dynamically add additional classpath entries to deployment unit.
* see VFSDeploymentUnit::appendClassPath / prependClassPath

Some more info about deployers and how MC' VDF works:
*  
http://java.dzone.com/articles/jboss-microcontainer-virtual-deployment-framework
 
http://java.dzone.com/articles/jboss-microcontainer-virtual-deployment-framework
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/588323#588323]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to