public static void startup() { final ServiceRegistry serviceRegistry = ServiceRegistry.getRegistry() ; WSCEnvironmentBean wscEnvironmentBean = XTSPropertyManager.getWSCEnvironmentBean(); String bindAddress = wscEnvironmentBean.getBindAddress11(); int bindPort = wscEnvironmentBean.getBindPort11(); int secureBindPort = wscEnvironmentBean.getBindPortSecure11(); WSTEnvironmentBean wstEnvironmentBean = XTSPropertyManager.getWSTEnvironmentBean(); String clientServiceURLPath = wstEnvironmentBean.getClientServiceURLPath(); if (clientServiceURLPath == null) { clientServiceURLPath = "/ws-t11-client"; } if (bindAddress == null) { bindAddress = "localhost"; } if (bindPort == 0) { bindPort = 8080; } if (secureBindPort == 0) { secureBindPort = 8443; } final String baseUri = "http://" + bindAddress + ":" + bindPort + clientServiceURLPath; final String uri = baseUri + "/" + ArjunaTX11Constants.TERMINATION_PARTICIPANT_SERVICE_NAME; final String secureBaseUri = "https://" + bindAddress + ":" + secureBindPort + clientServiceURLPath; final String secureUri = secureBaseUri + "/" + ArjunaTX11Constants.TERMINATION_PARTICIPANT_SERVICE_NAME; serviceRegistry.registerServiceProvider(ArjunaTX11Constants.TERMINATION_PARTICIPANT_SERVICE_NAME, uri) ; serviceRegistry.registerSecureServiceProvider(ArjunaTX11Constants.TERMINATION_PARTICIPANT_SERVICE_NAME, secureUri) ; }
public static void startup() { final ServiceRegistry serviceRegistry = ServiceRegistry.getRegistry() ; WSCEnvironmentBean wscEnvironmentBean = XTSPropertyManager.getWSCEnvironmentBean(); String bindAddress = wscEnvironmentBean.getBindAddress11(); int bindPort = wscEnvironmentBean.getBindPort11(); int secureBindPort = wscEnvironmentBean.getBindPortSecure11(); WSTEnvironmentBean wstEnvironmentBean = XTSPropertyManager.getWSTEnvironmentBean(); String clientServiceURLPath = wstEnvironmentBean.getClientServiceURLPath(); if (clientServiceURLPath == null) { clientServiceURLPath = "/ws-t11-client"; } if (bindAddress == null) { bindAddress = "127.0.0.1"; } if (bindPort == 0) { bindPort = 8080; } if (secureBindPort == 0) { secureBindPort = 8443; } final String baseUri = "http://" + bindAddress + ":" + bindPort + clientServiceURLPath; final String uri = baseUri + "/" + AtomicTransactionConstants.COMPLETION_INITIATOR_SERVICE_NAME; final String secureBaseUri = "https://" + bindAddress + ":" + secureBindPort + clientServiceURLPath; final String secureUri = secureBaseUri + "/" + AtomicTransactionConstants.COMPLETION_INITIATOR_SERVICE_NAME; serviceRegistry.registerServiceProvider(AtomicTransactionConstants.COMPLETION_INITIATOR_SERVICE_NAME, uri) ; serviceRegistry.registerSecureServiceProvider(AtomicTransactionConstants.COMPLETION_INITIATOR_SERVICE_NAME, secureUri) ; }
public static void startup() { final ServiceRegistry serviceRegistry = ServiceRegistry.getRegistry() ; WSCEnvironmentBean wscEnvironmentBean = XTSPropertyManager.getWSCEnvironmentBean(); String bindAddress = wscEnvironmentBean.getBindAddress11(); int bindPort = wscEnvironmentBean.getBindPort11(); int secureBindPort = wscEnvironmentBean.getBindPortSecure11(); WSTEnvironmentBean wstEnvironmentBean = XTSPropertyManager.getWSTEnvironmentBean(); String clientServiceURLPath = wstEnvironmentBean.getClientServiceURLPath(); if (clientServiceURLPath == null) { clientServiceURLPath = "/ws-t11-client"; } if (bindAddress == null) { bindAddress = "localhost"; } if (bindPort == 0) { bindPort = 8080; } if (secureBindPort == 0) { secureBindPort = 8443; } final String baseUri = "http://" + bindAddress + ":" + bindPort + clientServiceURLPath; final String uri = baseUri + "/" + AtomicTransactionConstants.COMPLETION_INITIATOR_SERVICE_NAME; final String secureBaseUri = "https://" + bindAddress + ":" + secureBindPort + clientServiceURLPath; final String secureUri = secureBaseUri + "/" + AtomicTransactionConstants.COMPLETION_INITIATOR_SERVICE_NAME; serviceRegistry.registerServiceProvider(AtomicTransactionConstants.COMPLETION_INITIATOR_SERVICE_NAME, uri) ; serviceRegistry.registerSecureServiceProvider(AtomicTransactionConstants.COMPLETION_INITIATOR_SERVICE_NAME, secureUri) ; }
public static void startup() { final ServiceRegistry serviceRegistry = ServiceRegistry.getRegistry() ; WSCEnvironmentBean wscEnvironmentBean = XTSPropertyManager.getWSCEnvironmentBean(); String bindAddress = wscEnvironmentBean.getBindAddress11(); int bindPort = wscEnvironmentBean.getBindPort11(); int secureBindPort = wscEnvironmentBean.getBindPortSecure11(); WSTEnvironmentBean wstEnvironmentBean = XTSPropertyManager.getWSTEnvironmentBean(); String clientServiceURLPath = wstEnvironmentBean.getClientServiceURLPath(); if (clientServiceURLPath == null) { clientServiceURLPath = "/ws-t11-client"; } if (bindAddress == null) { bindAddress = "127.0.0.1"; } if (bindPort == 0) { bindPort = 8080; } if (secureBindPort == 0) { secureBindPort = 8443; } final String baseUri = "http://" + bindAddress + ":" + bindPort + clientServiceURLPath; final String uri = baseUri + "/" + ArjunaTX11Constants.TERMINATION_PARTICIPANT_SERVICE_NAME; final String secureBaseUri = "https://" + bindAddress + ":" + secureBindPort + clientServiceURLPath; final String secureUri = secureBaseUri + "/" + ArjunaTX11Constants.TERMINATION_PARTICIPANT_SERVICE_NAME; serviceRegistry.registerServiceProvider(ArjunaTX11Constants.TERMINATION_PARTICIPANT_SERVICE_NAME, uri) ; serviceRegistry.registerSecureServiceProvider(ArjunaTX11Constants.TERMINATION_PARTICIPANT_SERVICE_NAME, secureUri) ; }
public static void startup() { final ServiceRegistry serviceRegistry = ServiceRegistry.getRegistry() ; WSCEnvironmentBean wscEnvironmentBean = XTSPropertyManager.getWSCEnvironmentBean(); String bindAddress = wscEnvironmentBean.getBindAddress11(); int bindPort = wscEnvironmentBean.getBindPort11(); int secureBindPort = wscEnvironmentBean.getBindPortSecure11(); WSTEnvironmentBean wstEnvironmentBean = XTSPropertyManager.getWSTEnvironmentBean(); String clientServiceURLPath = wstEnvironmentBean.getClientServiceURLPath(); if (clientServiceURLPath == null) { clientServiceURLPath = "/ws-t11-client"; } if (bindAddress == null) { bindAddress = "localhost"; } if (bindPort == 0) { bindPort = 8080; } if (secureBindPort == 0) { secureBindPort = 8443; } final String baseUri = "http://" + bindAddress + ":" + bindPort + clientServiceURLPath; final String uri = baseUri + "/" + AtomicTransactionConstants.COMPLETION_INITIATOR_SERVICE_NAME; final String secureBaseUri = "https://" + bindAddress + ":" + secureBindPort + clientServiceURLPath; final String secureUri = secureBaseUri + "/" + AtomicTransactionConstants.COMPLETION_INITIATOR_SERVICE_NAME; serviceRegistry.registerServiceProvider(AtomicTransactionConstants.COMPLETION_INITIATOR_SERVICE_NAME, uri) ; serviceRegistry.registerSecureServiceProvider(AtomicTransactionConstants.COMPLETION_INITIATOR_SERVICE_NAME, secureUri) ; }
public static void startup() { final ServiceRegistry serviceRegistry = ServiceRegistry.getRegistry() ; WSCEnvironmentBean wscEnvironmentBean = XTSPropertyManager.getWSCEnvironmentBean(); String bindAddress = wscEnvironmentBean.getBindAddress11(); int bindPort = wscEnvironmentBean.getBindPort11(); int secureBindPort = wscEnvironmentBean.getBindPortSecure11(); WSTEnvironmentBean wstEnvironmentBean = XTSPropertyManager.getWSTEnvironmentBean(); String clientServiceURLPath = wstEnvironmentBean.getClientServiceURLPath(); if (clientServiceURLPath == null) { clientServiceURLPath = "/ws-t11-client"; } if (bindAddress == null) { bindAddress = "localhost"; } if (bindPort == 0) { bindPort = 8080; } if (secureBindPort == 0) { secureBindPort = 8443; } final String baseUri = "http://" + bindAddress + ":" + bindPort + clientServiceURLPath; final String uri = baseUri + "/" + ArjunaTX11Constants.TERMINATION_PARTICIPANT_SERVICE_NAME; final String secureBaseUri = "https://" + bindAddress + ":" + secureBindPort + clientServiceURLPath; final String secureUri = secureBaseUri + "/" + ArjunaTX11Constants.TERMINATION_PARTICIPANT_SERVICE_NAME; serviceRegistry.registerServiceProvider(ArjunaTX11Constants.TERMINATION_PARTICIPANT_SERVICE_NAME, uri) ; serviceRegistry.registerSecureServiceProvider(ArjunaTX11Constants.TERMINATION_PARTICIPANT_SERVICE_NAME, secureUri) ; }