[jboss-dev-forums] [Design of JBoss ESB] - Re: Scoped deployments in AS 5.x

emuckenhuber do-not-reply at jboss.com
Sat May 2 07:41:29 EDT 2009


Just in case - if you are interested in supporting the legacy loader-repository config in your deployment descriptors, you could 'translate' that into the AS5 classloading metadata.

So you would need to create your own ClassLoaderDeployer in POST_PARSE, which has your deployment meta data as input and as ouput the ClassLoadingMetaData.
You could look at this:

https://svn.jboss.org/repos/jbossas/branches/Branch_5_x/system-jmx/src/main/org/jboss/system/deployers/ServiceClassLoaderDeployer.java
and
https://svn.jboss.org/repos/jbossas/branches/Branch_5_x/system-jmx/src/main/org/jboss/system/deployers/LoaderRepositoryConfigHelper.java

The way this is written it first checks if there is already a classloading meta data (a jboss-classloading.xml) - if not you could create it based on the loader-repository from the esb deployment descriptor.


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

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



More information about the jboss-dev-forums mailing list