[jboss-dev-forums] [Design of POJO Server] - JACC: Policy Configuration needs to be linked with children
anil.saldhana@jboss.com
do-not-reply at jboss.com
Wed Dec 6 17:15:23 EST 2006
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#3991795
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991795
More information about the jboss-dev-forums
mailing list