String parentContextId = parentUnit.getSimpleName();
PolicyConfigurationFactory pcFactory = Ejb3PolicyConfigurationFactory.getPolicyConfigurationFactory();
PolicyConfiguration parentpc = pcFactory.getPolicyConfiguration(parentContextId, false);
if(parentpc != null)
{
parentpc.linkConfiguration(pc);
pc.commit();
log.trace("JACC Policy Configuration for deployment unit has been linked with parent");
return;
}
}