@Override public CoreEnvironmentBean getValue() throws IllegalStateException, IllegalArgumentException { CoreEnvironmentBean coreEnvironmentBean = arjPropertyManager.getCoreEnvironmentBean(); return coreEnvironmentBean; }
@NotNull public String getNodeName() { final String nodeIdentifier = arjPropertyManager.getCoreEnvironmentBean().getNodeIdentifier(); if (nodeIdentifier == null) { throw Log.log.noLocalTransactionProviderNodeName(); } return nodeIdentifier; }
@Override public void start(StartContext context) throws StartException { // Global configuration. final CoreEnvironmentBean coreEnvironmentBean = arjPropertyManager.getCoreEnvironmentBean(); if(coreEnvironmentBean.getProcessImplementationClassName() == null) { UuidProcessId id = new UuidProcessId(); coreEnvironmentBean.setProcessImplementation(id); } try { coreEnvironmentBean.setNodeIdentifier(nodeIdentifier); } catch (CoreEnvironmentBeanException e) { throw new StartException(e.getCause()); } // Setup the socket process id if there is a binding SocketBinding binding = socketProcessBindingInjector.getOptionalValue(); if(binding != null) { int port = binding.getPort(); coreEnvironmentBean.setSocketProcessIdPort(port); } }
@Override public CoreEnvironmentBean getValue() throws IllegalStateException, IllegalArgumentException { CoreEnvironmentBean coreEnvironmentBean = arjPropertyManager.getCoreEnvironmentBean(); return coreEnvironmentBean; }
@Override public CoreEnvironmentBean getValue() throws IllegalStateException, IllegalArgumentException { CoreEnvironmentBean coreEnvironmentBean = arjPropertyManager.getCoreEnvironmentBean(); return coreEnvironmentBean; }
private static synchronized void initDefaultProcess () { if(processHandle == null) { processHandle = arjPropertyManager.getCoreEnvironmentBean().getProcessImplementation(); if(processHandle == null) { tsLogger.i18NLogger.warn_utils_Utility_1(); } } }
private static synchronized void initDefaultProcess () { if(processHandle == null) { processHandle = arjPropertyManager.getCoreEnvironmentBean().getProcessImplementation(); if(processHandle == null) { tsLogger.i18NLogger.warn_utils_Utility_1(); } } }
private static synchronized void initDefaultProcess () { if(processHandle == null) { processHandle = arjPropertyManager.getCoreEnvironmentBean().getProcessImplementation(); if(processHandle == null) { tsLogger.i18NLogger.warn_utils_Utility_1(); } } }
private static synchronized void initDefaultProcess () { if(processHandle == null) { processHandle = arjPropertyManager.getCoreEnvironmentBean().getProcessImplementation(); if(processHandle == null) { tsLogger.i18NLogger.warn_utils_Utility_1(); } } }
private static synchronized void initDefaultProcess () { if(processHandle == null) { processHandle = arjPropertyManager.getCoreEnvironmentBean().getProcessImplementation(); if(processHandle == null) { tsLogger.i18NLogger.warn_utils_Utility_1(); } } }
private static synchronized void initDefaultProcess () { if(processHandle == null) { processHandle = arjPropertyManager.getCoreEnvironmentBean().getProcessImplementation(); if(processHandle == null) { tsLogger.i18NLogger.warn_utils_Utility_1(); } } }
private static synchronized void initDefaultProcess () { if(processHandle == null) { processHandle = arjPropertyManager.getCoreEnvironmentBean().getProcessImplementation(); if(processHandle == null) { tsLogger.i18NLogger.warn_utils_Utility_1(); } } }
private static synchronized void initDefaultProcess () { if(processHandle == null) { processHandle = arjPropertyManager.getCoreEnvironmentBean().getProcessImplementation(); if(processHandle == null) { tsLogger.i18NLogger.warn_utils_Utility_1(); } } }
@NotNull public String getNodeName() { final String nodeIdentifier = arjPropertyManager.getCoreEnvironmentBean().getNodeIdentifier(); if (nodeIdentifier == null) { throw Log.log.noLocalTransactionProviderNodeName(); } return nodeIdentifier; }
@NotNull public String getNodeName() { final String nodeIdentifier = arjPropertyManager.getCoreEnvironmentBean().getNodeIdentifier(); if (nodeIdentifier == null) { throw Log.log.noLocalTransactionProviderNodeName(); } return nodeIdentifier; }
private void trace_request(String method, ClientRequestInfo request_info) { jtsLogger.logger.tracef("InterpositionClientRequestInterceptorImpl::%s ( %s ) nodeId=%s requestId=%d target=%s", method, request_info.operation(), arjPropertyManager.getCoreEnvironmentBean().getNodeIdentifier(), request_info.request_id(), request_info.target().toString()); }
private void trace_request(String method, ServerRequestInfo request_info) { jtsLogger.logger.tracef("InterpositionServerRequestInterceptorImpl::%s ( %s ) nodeId=%s requestId=%d target=%s", method, request_info.operation(), arjPropertyManager.getCoreEnvironmentBean().getNodeIdentifier(), request_info.request_id(), ((ServerRequestInfoImpl) request_info).target().toString()); }
private void trace_request(String method, ClientRequestInfo request_info) { jtsLogger.logger.tracef("InterpositionClientRequestInterceptorImpl::%s ( %s ) nodeId=%s requestId=%d", method, request_info.operation(), arjPropertyManager.getCoreEnvironmentBean().getNodeIdentifier(), request_info.request_id()); }
private void trace_request(String method, ServerRequestInfo request_info) { jtsLogger.logger.tracef("InterpositionServerRequestInterceptorImpl::%s ( %s ) nodeId=%s requestId=%d", method, request_info.operation(), arjPropertyManager.getCoreEnvironmentBean().getNodeIdentifier(), request_info.request_id()); }
@Before public void setUp() throws Exception { arjPropertyManager.getCoreEnvironmentBean().setAllowMultipleLastResources(true); }