Assume that an EAR contains a ejb-jar as well as a war. There is a need to link the policy
configuration at the ear level to the PC for the individual constituents of the EAR.
Currently, in the EJBModule.java, the following piece of code is returning null for the
parent policy configuration (parentPC):
| DeploymentContext current = deploymentUnit.getDeploymentContext();
| while (current.getParent() != null)
| current = current.getParent();
| PolicyConfiguration parentPC =
current.getTransientAttachments().getAttachment(PolicyConfiguration.class);
| if (parentPC != null && parentPC != pc)
| parentPC.linkConfiguration(pc);
|
This is important for ejb21, ejb3 and web deployments.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991795#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...