@Override public void post_init(ORBInitInfo info) { try { // use CDR encapsulation with GIOP 1.0 encoding. Encoding encoding = new Encoding(ENCODING_CDR_ENCAPS.value, (byte) 1, /* GIOP version */ (byte) 0 /* GIOP revision*/); Codec codec = info.codec_factory().create_codec(encoding); // add IOR interceptor for CSIv2. info.add_ior_interceptor(new CSIv2IORInterceptor(codec)); // register CSIv2-related policy factories. info.register_policy_factory(CSIv2Policy.TYPE, new CSIv2PolicyFactory(codec)); } catch (Exception e) { throw IIOPLogger.ROOT_LOGGER.unexpectedException(e); } } }
info.register_policy_factory(SecMechanismsPolicy.value, factory); info.register_policy_factory(SecInvocationCredentialsPolicy.value, factory); info.register_policy_factory(SecQOPPolicy.value, factory); info.register_policy_factory(SecEstablishTrustPolicy.value, factory); info.register_policy_factory(SecGSSUPPolicy.value, factory); info.register_policy_factory(SecDelegationDirectivePolicy.value, factory);
public void post_init(ORBInitInfo info) { final ORB orb = ((org.jacorb.orb.portableInterceptor.ORBInitInfoImpl) info).getORB(); final Logger logger = orb.getConfiguration().getLogger("org.jacorb.interceptors.ior_init"); try { info.add_client_request_interceptor( new BiDirConnectionClientInterceptor( orb )); info.add_server_request_interceptor( new BiDirConnectionServerInterceptor( orb )); info.register_policy_factory( BIDIRECTIONAL_POLICY_TYPE.value, new BiDirPolicyFactory() ); } catch (Exception e) { logger.error("BiDirConnectionInitializer.post_init", e); } }
info.register_policy_factory( SAS_POLICY_TYPE.value, new SASPolicyFactory() ); info.register_policy_factory( ATLAS_POLICY_TYPE.value, new ATLASPolicyFactory() );
@Override public void post_init(ORBInitInfo info) { try { // use CDR encapsulation with GIOP 1.0 encoding. Encoding encoding = new Encoding(ENCODING_CDR_ENCAPS.value, (byte) 1, /* GIOP version */ (byte) 0 /* GIOP revision*/); Codec codec = info.codec_factory().create_codec(encoding); // add IOR interceptor for CSIv2. info.add_ior_interceptor(new CSIv2IORInterceptor(codec)); // register CSIv2-related policy factories. info.register_policy_factory(CSIv2Policy.TYPE, new CSIv2PolicyFactory(codec)); } catch (Exception e) { throw IIOPLogger.ROOT_LOGGER.unexpectedException(e); } } }
@Override public void post_init(ORBInitInfo info) { try { // use CDR encapsulation with GIOP 1.0 encoding. Encoding encoding = new Encoding(ENCODING_CDR_ENCAPS.value, (byte) 1, /* GIOP version */ (byte) 0 /* GIOP revision*/); Codec codec = info.codec_factory().create_codec(encoding); // add IOR interceptor for CSIv2. info.add_ior_interceptor(new CSIv2IORInterceptor(codec)); // register CSIv2-related policy factories. info.register_policy_factory(CSIv2Policy.TYPE, new CSIv2PolicyFactory(codec)); } catch (Exception e) { throw IIOPLogger.ROOT_LOGGER.unexpectedException(e); } } }
info.register_policy_factory(OTS_POLICY_TYPE.value, new OTSPolicyFactory()); } catch (BAD_INV_ORDER e) { info.register_policy_factory(INVOCATION_POLICY_TYPE.value, new InvocationPolicyFactory()); } catch (BAD_INV_ORDER e) {