"kabir.khan(a)jboss.com" wrote :
| I think from your answer that you are saying that we want the aop integration to be deployd as part of the server bootstrap? Meaning that the aspect deployer and the @JMX stuff is available by the time we get to scanning the deploy folder. In which case moving all the required bits into jboss/lib should be fine?
Yes, moving this to the bootstrap lib should be fine. It does bring up the issue of javassist users now being coupled to that version, so we will run into the issue of javassit being an implementation detail of the mc, or part of its public api that other deployments should interact with.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984088#3984088
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984088
The AspectDeployer is currently deployed under deployers/jboss-aop-jboss5.deployer/META-INF/ and its deployment order relative to the other deployers seems to be arbitrary.
I think from your answer that you are saying that we want the aop integration to be deployd as part of the server bootstrap? Meaning that the aspect deployer and the @JMX stuff is available by the time we get to scanning the deploy folder. In which case moving all the required bits into jboss/lib should be fine?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984081#3984081
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984081
The class loader should already be defined for all deployers other than class loading deployers and access via the DeploymentUnit.getClassLoader/DeploymentContext.getClassLoader. A class loading deployer should have already run and built the class loader from the classpath(or overriding metadata).
The point of removing the class loader construction out of base functionality of each deployer was to allow for more control over the class loading implementation and integration with deployment lifecycle issues.
However, most deployers are still creating child class loaders of the DeploymentUnit/DeploymentContext class loader, or creating the own class loader just using the DeploymentUnit/DeploymentContext classpath. Extracting this aspect is still a work in progress.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984064#3984064
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984064