The code that sets CL to Module is not invoked in AbstractLevelClassLoaderSystemDeployer,
as you're bypassing it by providing your own CLF in AbstractClassLoaderDeployer.
You should bypass AEDeployer by providing proper filter in DU.
Similar to what we do here:
| <bean name="DeploymentProvidedDUFilter"
class="org.jboss.deployment.DeploymentProvidedDeploymentUnitFilter" />
|
| <bean name="GenScanDeployer"
class="org.jboss.deployers.vfs.plugins.annotations.FilteredAnnotationEnvironmentDeployer">
| <property name="filter">
| <bean class="org.jboss.deployment.ListDeploymentUnitFilter">
| <property name="filters">
| <list>
| <inject bean="DeploymentProvidedDUFilter" />
| <inject bean="JBossMetaDataDUFilter"/>
| <inject bean="ScanningMetaDataDUFilter"/>
| <inject bean="JBossCustomDeployDUFilter"/>
| </list>
| </property>
| </bean>
| </property>
| </bean>
|
DPDUF:
-
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_5_x/server/src/mai...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252239#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...