use of org.glassfish.enterprise.iiop.impl.CSIv2Policy in project Payara by payara.
the class CSIV2TaggedComponentInfo method getEjbDescriptor.
public EjbDescriptor getEjbDescriptor(IORInfo iorInfo) {
CSIv2Policy csiv2Policy = null;
try {
csiv2Policy = (CSIv2Policy) iorInfo.get_effective_policy(orbHelper.getCSIv2PolicyType());
} catch (INV_POLICY ex) {
logger.log(FINE, "CSIV2TaggedComponentInfo.getEjbDescriptor: CSIv2Policy not present");
}
// Add CSIv2 tagged component for this EJB type.
if (logger.isLoggable(FINE)) {
logger.log(FINE, "TxSecIORInterceptor.establish_components: CSIv2Policy: " + csiv2Policy);
}
EjbDescriptor ejbDesc = null;
if (csiv2Policy != null) {
ejbDesc = csiv2Policy.getEjbDescriptor();
}
return ejbDesc;
}
Aggregations