RCobjectId = extractObjectId(objectIdString).getBytes(); RCctx = new ServiceContext(RecoveryContextId, RCobjectId); in_loop = false;
/** * This method resolves the NameService and registers the * interceptor. */ public void post_init(ORBInitInfo info) { try { // Obtain the Orb reference having requested this initilization org.omg.CORBA.ORB theORB = ((org.jacorb.orb.portableInterceptor.ORBInitInfoImpl)info).getORB(); /* NamingContextExt nc = NamingContextExtHelper.narrow (info.resolve_initial_references("NameService")); */ org.omg.PortableInterceptor.Current piCurrent = org.omg.PortableInterceptor.CurrentHelper.narrow (info.resolve_initial_references("PICurrent")); int outSlotId = info.allocate_slot_id(); info.add_client_request_interceptor (new ClientForwardInterceptor(theORB, piCurrent, outSlotId)); } catch (Exception e) { jtsLogger.loggerI18N.warn("com.arjuna.ats.internal.jts.orbspecific.jacorb.recoverycoordinators.ClientInitialize_1", e); } }
/** * This method resolves the NameService and registers the * interceptor. */ public void post_init(ORBInitInfo info) { try { // Obtain the Orb reference having requested this initilization org.omg.CORBA.ORB theORB = ((org.jacorb.orb.portableInterceptor.ORBInitInfoImpl)info).getORB(); /* NamingContextExt nc = NamingContextExtHelper.narrow (info.resolve_initial_references("NameService")); */ org.omg.PortableInterceptor.Current piCurrent = org.omg.PortableInterceptor.CurrentHelper.narrow (info.resolve_initial_references("PICurrent")); int outSlotId = info.allocate_slot_id(); info.add_client_request_interceptor (new ClientForwardInterceptor(theORB, piCurrent, outSlotId)); } catch (Exception e) { jtsLogger.i18NLogger.warn_orbspecific_jacorb_recoverycoordinators_ClientInitializer_1(e); } }
RCobjectId = extractObjectId(objectIdString).getBytes(); RCctx = new ServiceContext(RecoveryContextId, RCobjectId); in_loop = false;