public void receive_request_service_contexts (ServerRequestInfo ri) throws ForwardRequest { ServiceContext context; try { context = ri.get_request_service_context (RecoveryContextId); JavaIdlRCDefaultServant.RCObjectId = context.context_data; } catch (Exception ex) { jtsLogger.i18NLogger.warn_orbspecific_jacorb_recoverycoordinators_ServerInitializer_1(ex); } }
public void receive_request_service_contexts (ServerRequestInfo ri) throws ForwardRequest { ServiceContext context; org.omg.CORBA.Any any; try { context = ri.get_request_service_context (RecoveryContextId); String objectIdString = new String(context.context_data, StandardCharsets.UTF_8); JacOrbRCDefaultServant.RCObjectId = context.context_data; } catch (Exception ex) { jtsLogger.i18NLogger.warn_orbspecific_jacorb_recoverycoordinators_ServerInitializer_1(ex); } }
/** * This method resolves the NameService and registers the * interceptor. */ public void post_init(ORBInitInfo info) { try { org.omg.CORBA.ORB theORB = ((com.sun.corba.se.impl.interceptors.ORBInitInfoImpl)info).getORB(); info.add_server_request_interceptor (new ServerRecoveryInterceptor(theORB)); } catch (Exception e) { jtsLogger.i18NLogger.warn_orbspecific_jacorb_recoverycoordinators_ServerInitializer_1(e); } }
/** * This method resolves the NameService and registers the * interceptor. */ public void post_init(ORBInitInfo info) { try { org.omg.CORBA.ORB theORB = ((org.jacorb.orb.portableInterceptor.ORBInitInfoImpl)info).getORB(); info.add_server_request_interceptor (new ServerRecoveryInterceptor(theORB)); } catch (Exception e) { jtsLogger.i18NLogger.warn_orbspecific_jacorb_recoverycoordinators_ServerInitializer_1(e); } }