gpt4 book ai didi

org.jboss.jbossts.xts.environment.XTSPropertyManager.getWSTEnvironmentBean()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-24 08:15:05 33 4
gpt4 key购买 nike

本文整理了Java中org.jboss.jbossts.xts.environment.XTSPropertyManager.getWSTEnvironmentBean()方法的一些代码示例,展示了XTSPropertyManager.getWSTEnvironmentBean()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XTSPropertyManager.getWSTEnvironmentBean()方法的具体详情如下:
包路径:org.jboss.jbossts.xts.environment.XTSPropertyManager
类名称:XTSPropertyManager
方法名:getWSTEnvironmentBean

XTSPropertyManager.getWSTEnvironmentBean介绍

暂无

代码示例

代码示例来源:origin: org.jboss.jbossts/jbossxts

/**
 * Configure all configured WSTX client and participant implementations.
 *
 */
private static void configure()
  throws Exception
{
  WSTEnvironmentBean wstEnvironmentBean = XTSPropertyManager.getWSTEnvironmentBean();
  final String userTx = wstEnvironmentBean.getUserTransaction11();
  final String txManager = wstEnvironmentBean.getTransactionManager11();
  final String userBa = wstEnvironmentBean.getUserBusinessActivity11();
  final String baManager = wstEnvironmentBean.getBusinessActivityManager11();
  // we only load classes which have been configured
  
  if (userTx != null) {
    UserTransaction.setUserTransaction((UserTransaction)ClassLoaderHelper.forName(WSTXInitialisation.class, userTx).newInstance()) ;
  }
  if (txManager != null) {
    TransactionManager.setTransactionManager((TransactionManager)ClassLoaderHelper.forName(WSTXInitialisation.class, txManager).newInstance()) ;
  }
  if (userBa != null) {
    UserBusinessActivity.setUserBusinessActivity((UserBusinessActivity)ClassLoaderHelper.forName(WSTXInitialisation.class, userBa).newInstance()) ;
  }
  if (baManager != null) {
    BusinessActivityManager.setBusinessActivityManager((BusinessActivityManager)ClassLoaderHelper.forName(WSTXInitialisation.class, baManager).newInstance());
  }
}

代码示例来源:origin: org.jboss.jbossts.xts/jbossxts

/**
 * Configure all configured WSTX client and participant implementations.
 *
 */
private static void configure()
  throws Exception
{
  WSTEnvironmentBean wstEnvironmentBean = XTSPropertyManager.getWSTEnvironmentBean();
  final String userTx = wstEnvironmentBean.getUserTransaction11();
  final String txManager = wstEnvironmentBean.getTransactionManager11();
  final String userBa = wstEnvironmentBean.getUserBusinessActivity11();
  final String baManager = wstEnvironmentBean.getBusinessActivityManager11();
  // we only load classes which have been configured
  
  if (userTx != null) {
    UserTransaction.setUserTransaction((UserTransaction)ClassLoaderHelper.forName(WSTXInitialisation.class, userTx).newInstance()) ;
  }
  if (txManager != null) {
    TransactionManager.setTransactionManager((TransactionManager)ClassLoaderHelper.forName(WSTXInitialisation.class, txManager).newInstance()) ;
  }
  if (userBa != null) {
    UserBusinessActivity.setUserBusinessActivity((UserBusinessActivity)ClassLoaderHelper.forName(WSTXInitialisation.class, userBa).newInstance()) ;
  }
  if (baManager != null) {
    BusinessActivityManager.setBusinessActivityManager((BusinessActivityManager)ClassLoaderHelper.forName(WSTXInitialisation.class, baManager).newInstance());
  }
}

代码示例来源:origin: org.jboss.jbossts.xts/wstx11

/**
 * Configure all configured WSTX client and participant implementations.
 *
 */
private static void configure()
  throws Exception
{
  WSTEnvironmentBean wstEnvironmentBean = XTSPropertyManager.getWSTEnvironmentBean();
  final String userTx = wstEnvironmentBean.getUserTransaction11();
  final String txManager = wstEnvironmentBean.getTransactionManager11();
  final String userBa = wstEnvironmentBean.getUserBusinessActivity11();
  final String baManager = wstEnvironmentBean.getBusinessActivityManager11();
  // we only load classes which have been configured
  
  if (userTx != null) {
    UserTransaction.setUserTransaction((UserTransaction)ClassLoaderHelper.forName(WSTXInitialisation.class, userTx).newInstance()) ;
  }
  if (txManager != null) {
    TransactionManager.setTransactionManager((TransactionManager)ClassLoaderHelper.forName(WSTXInitialisation.class, txManager).newInstance()) ;
  }
  if (userBa != null) {
    UserBusinessActivity.setUserBusinessActivity((UserBusinessActivity)ClassLoaderHelper.forName(WSTXInitialisation.class, userBa).newInstance()) ;
  }
  if (baManager != null) {
    BusinessActivityManager.setBusinessActivityManager((BusinessActivityManager)ClassLoaderHelper.forName(WSTXInitialisation.class, baManager).newInstance());
  }
}

代码示例来源:origin: org.jboss.jbossts.xts/jbossxts

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 participantServiceURLPath = wstEnvironmentBean.getParticipantServiceURLPath();
  if (participantServiceURLPath == null) {
    participantServiceURLPath = "/ws-t11-participant";
  }
  if (bindAddress == null) {
    bindAddress = "localhost";
  }
  if (bindPort == 0) {
    bindPort = 8080;
  }
  if (secureBindPort == 0) {
    secureBindPort = 8443;
  }
  final String baseUri = "http://" +  bindAddress + ":" + bindPort + participantServiceURLPath;
  final String uri = baseUri + "/" + BusinessActivityConstants.COORDINATOR_COMPLETION_PARTICIPANT_SERVICE_NAME;
  final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + participantServiceURLPath;
  final String secureUri = secureBaseUri + "/" + BusinessActivityConstants.COORDINATOR_COMPLETION_PARTICIPANT_SERVICE_NAME;
  serviceRegistry.registerServiceProvider(BusinessActivityConstants.COORDINATOR_COMPLETION_PARTICIPANT_SERVICE_NAME, uri) ;
  serviceRegistry.registerSecureServiceProvider(BusinessActivityConstants.COORDINATOR_COMPLETION_PARTICIPANT_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts.xts/jbossxts

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) ;
}

代码示例来源:origin: org.jboss.jbossts/jbossxts

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 participantServiceURLPath = wstEnvironmentBean.getParticipantServiceURLPath();
  if (participantServiceURLPath == null) {
    participantServiceURLPath = "/ws-t11-participant";
  }
  if (bindAddress == null) {
    bindAddress = "127.0.0.1";
  }
  if (bindPort == 0) {
    bindPort = 8080;
  }
  if (secureBindPort == 0) {
    secureBindPort = 8443;
  }
  final String baseUri = "http://" +  bindAddress + ":" + bindPort + participantServiceURLPath;
  final String uri = baseUri + "/" + BusinessActivityConstants.PARTICIPANT_COMPLETION_PARTICIPANT_SERVICE_NAME;
  final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + participantServiceURLPath;
  final String secureUri = secureBaseUri + "/" + BusinessActivityConstants.PARTICIPANT_COMPLETION_PARTICIPANT_SERVICE_NAME;
  serviceRegistry.registerServiceProvider(BusinessActivityConstants.PARTICIPANT_COMPLETION_PARTICIPANT_SERVICE_NAME, uri) ;
  serviceRegistry.registerSecureServiceProvider(BusinessActivityConstants.PARTICIPANT_COMPLETION_PARTICIPANT_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts/jbossxts

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) ;
}

代码示例来源:origin: org.jboss.jbossts.xts/ws-t11

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 participantServiceURLPath = wstEnvironmentBean.getParticipantServiceURLPath();
  if (participantServiceURLPath == null) {
    participantServiceURLPath = "/ws-t11-participant";
  }
      if (bindAddress == null) {
        bindAddress = "localhost";
      }
      if (bindPort == 0) {
        bindPort = 8080;
      }
      if (secureBindPort == 0) {
        secureBindPort = 8443;
      }
      final String baseUri = "http://" +  bindAddress + ":" + bindPort + participantServiceURLPath;
      final String uri = baseUri + "/" + AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME;
      final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + participantServiceURLPath;
      final String secureUri = secureBaseUri + "/" +  AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME;
      serviceRegistry.registerServiceProvider(AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME, uri) ;
      serviceRegistry.registerSecureServiceProvider(AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts.xts/jbossxts

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 coordinatorServiceURLPath = wstEnvironmentBean.getCoordinatorServiceURLPath();
  if (coordinatorServiceURLPath == null) {
    coordinatorServiceURLPath = "/ws-t11-coordinator";
  }
  if (bindAddress == null) {
    bindAddress = "localhost";
  }
  if (bindPort == 0) {
    bindPort = 8080;
  }
  if (secureBindPort == 0) {
    secureBindPort = 8443;
  }
  final String baseUri = "http://" +  bindAddress + ":" + bindPort + coordinatorServiceURLPath;
  final String uri = baseUri + "/" + ArjunaTX11Constants.TERMINATION_COORDINATOR_SERVICE_NAME;
  final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + coordinatorServiceURLPath;
  final String secureUri = secureBaseUri + "/" + ArjunaTX11Constants.TERMINATION_COORDINATOR_SERVICE_NAME;
  serviceRegistry.registerServiceProvider(ArjunaTX11Constants.TERMINATION_COORDINATOR_SERVICE_NAME, uri) ;
  serviceRegistry.registerSecureServiceProvider(ArjunaTX11Constants.TERMINATION_COORDINATOR_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts/jbossxts

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 participantServiceURLPath = wstEnvironmentBean.getParticipantServiceURLPath();
  if (participantServiceURLPath == null) {
    participantServiceURLPath = "/ws-t11-participant";
  }
  if (bindAddress == null) {
    bindAddress = "127.0.0.1";
  }
  if (bindPort == 0) {
    bindPort = 8080;
  }
  if (secureBindPort == 0) {
    secureBindPort = 8443;
  }
  final String baseUri = "http://" +  bindAddress + ":" + bindPort + participantServiceURLPath;
  final String uri = baseUri + "/" + BusinessActivityConstants.COORDINATOR_COMPLETION_PARTICIPANT_SERVICE_NAME;
  final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + participantServiceURLPath;
  final String secureUri = secureBaseUri + "/" + BusinessActivityConstants.COORDINATOR_COMPLETION_PARTICIPANT_SERVICE_NAME;
  serviceRegistry.registerServiceProvider(BusinessActivityConstants.COORDINATOR_COMPLETION_PARTICIPANT_SERVICE_NAME, uri) ;
  serviceRegistry.registerSecureServiceProvider(BusinessActivityConstants.COORDINATOR_COMPLETION_PARTICIPANT_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts.xts/ws-t11

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 coordinatorServiceURLPath = wstEnvironmentBean.getCoordinatorServiceURLPath();
  if (coordinatorServiceURLPath == null) {
    coordinatorServiceURLPath = "/ws-t11-coordinator";
  }
  if (bindAddress == null) {
    bindAddress = "localhost";
  }
  if (bindPort == 0) {
    bindPort = 8080;
  }
  if (secureBindPort == 0) {
    secureBindPort = 8443;
  }
  final String baseUri = "http://" +  bindAddress + ":" + bindPort + coordinatorServiceURLPath;
  final String uri = baseUri + "/" + ArjunaTX11Constants.TERMINATION_COORDINATOR_SERVICE_NAME;
  final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + coordinatorServiceURLPath;
  final String secureUri = secureBaseUri + "/" + ArjunaTX11Constants.TERMINATION_COORDINATOR_SERVICE_NAME;
  serviceRegistry.registerServiceProvider(ArjunaTX11Constants.TERMINATION_COORDINATOR_SERVICE_NAME, uri) ;
  serviceRegistry.registerSecureServiceProvider(ArjunaTX11Constants.TERMINATION_COORDINATOR_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts.xts/ws-t11

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 coordinatorServiceURLPath = wstEnvironmentBean.getCoordinatorServiceURLPath();
  if (coordinatorServiceURLPath == null) {
    coordinatorServiceURLPath = "/ws-t11-coordinator";
  }
  if (bindAddress == null) {
    bindAddress = "localhost";
  }
  if (bindPort == 0) {
    bindPort = 8080;
  }
  if (secureBindPort == 0) {
    secureBindPort = 8443;
  }
  final String baseUri = "http://" +  bindAddress + ":" + bindPort + coordinatorServiceURLPath;
  final String uri = baseUri + "/" + AtomicTransactionConstants.COORDINATOR_SERVICE_NAME;
  final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + coordinatorServiceURLPath;
  final String secureUri = secureBaseUri + "/" + AtomicTransactionConstants.COORDINATOR_SERVICE_NAME;
  serviceRegistry.registerServiceProvider(AtomicTransactionConstants.COORDINATOR_SERVICE_NAME, uri) ;
  serviceRegistry.registerSecureServiceProvider(AtomicTransactionConstants.COORDINATOR_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts.xts/ws-t11

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 coordinatorServiceURLPath = wstEnvironmentBean.getCoordinatorServiceURLPath();
  if (coordinatorServiceURLPath == null) {
    coordinatorServiceURLPath = "/ws-t11-coordinator";
  }
  if (bindAddress == null) {
    bindAddress = "localhost";
  }
  if (bindPort == 0) {
    bindPort = 8080;
  }
  if (secureBindPort == 0) {
    secureBindPort = 8443;
  }
  final String baseUri = "http://" +  bindAddress + ":" + bindPort + coordinatorServiceURLPath;
  final String uri = baseUri + "/" + BusinessActivityConstants.PARTICIPANT_COMPLETION_COORDINATOR_SERVICE_NAME;
  final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + coordinatorServiceURLPath;
  final String secureUri = secureBaseUri + "/" + BusinessActivityConstants.PARTICIPANT_COMPLETION_COORDINATOR_SERVICE_NAME;
  serviceRegistry.registerServiceProvider(BusinessActivityConstants.PARTICIPANT_COMPLETION_COORDINATOR_SERVICE_NAME, uri) ;
  serviceRegistry.registerSecureServiceProvider(BusinessActivityConstants.PARTICIPANT_COMPLETION_COORDINATOR_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts.xts/ws-t11

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 coordinatorServiceURLPath = wstEnvironmentBean.getCoordinatorServiceURLPath();
  if (coordinatorServiceURLPath == null) {
    coordinatorServiceURLPath = "/ws-t11-coordinator";
  }
  if (bindAddress == null) {
    bindAddress = "localhost";
  }
  if (bindPort == 0) {
    bindPort = 8080;
  }
  if (secureBindPort == 0) {
    secureBindPort = 8443;
  }
  final String baseUri = "http://" +  bindAddress + ":" + bindPort + coordinatorServiceURLPath;
  final String uri = baseUri + "/" + BusinessActivityConstants.COORDINATOR_COMPLETION_COORDINATOR_SERVICE_NAME;
  final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + coordinatorServiceURLPath;
  final String secureUri = secureBaseUri + "/" + BusinessActivityConstants.COORDINATOR_COMPLETION_COORDINATOR_SERVICE_NAME;
  serviceRegistry.registerServiceProvider(BusinessActivityConstants.COORDINATOR_COMPLETION_COORDINATOR_SERVICE_NAME, uri) ;
  serviceRegistry.registerSecureServiceProvider(BusinessActivityConstants.COORDINATOR_COMPLETION_COORDINATOR_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts/jbossxts

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 coordinatorServiceURLPath = wstEnvironmentBean.getCoordinatorServiceURLPath();
  if (coordinatorServiceURLPath == null) {
    coordinatorServiceURLPath = "/ws-t11-coordinator";
  }
  if (bindAddress == null) {
    bindAddress = "127.0.0.1";
  }
  if (bindPort == 0) {
    bindPort = 8080;
  }
  if (secureBindPort == 0) {
    secureBindPort = 8443;
  }
  final String baseUri = "http://" +  bindAddress + ":" + bindPort + coordinatorServiceURLPath;
  final String uri = baseUri + "/" + ArjunaTX11Constants.TERMINATION_COORDINATOR_SERVICE_NAME;
  final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + coordinatorServiceURLPath;
  final String secureUri = secureBaseUri + "/" + ArjunaTX11Constants.TERMINATION_COORDINATOR_SERVICE_NAME;
  serviceRegistry.registerServiceProvider(ArjunaTX11Constants.TERMINATION_COORDINATOR_SERVICE_NAME, uri) ;
  serviceRegistry.registerSecureServiceProvider(ArjunaTX11Constants.TERMINATION_COORDINATOR_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts/jbossxts

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 participantServiceURLPath = wstEnvironmentBean.getParticipantServiceURLPath();
  if (participantServiceURLPath == null) {
    participantServiceURLPath = "/ws-t11-participant";
  }
      if (bindAddress == null) {
        bindAddress = "127.0.0.1";
      }
      if (bindPort == 0) {
        bindPort = 8080;
      }
      if (secureBindPort == 0) {
        secureBindPort = 8443;
      }
      final String baseUri = "http://" +  bindAddress + ":" + bindPort + participantServiceURLPath;
      final String uri = baseUri + "/" + AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME;
      final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + participantServiceURLPath;
      final String secureUri = secureBaseUri + "/" +  AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME;
      serviceRegistry.registerServiceProvider(AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME, uri) ;
      serviceRegistry.registerSecureServiceProvider(AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts/jbossxts

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 coordinatorServiceURLPath = wstEnvironmentBean.getCoordinatorServiceURLPath();
  if (coordinatorServiceURLPath == null) {
    coordinatorServiceURLPath = "/ws-t11-coordinator";
  }
  if (bindAddress == null) {
    bindAddress = "127.0.0.1";
  }
  if (bindPort == 0) {
    bindPort = 8080;
  }
  if (secureBindPort == 0) {
    secureBindPort = 8443;
  }
  final String baseUri = "http://" +  bindAddress + ":" + bindPort + coordinatorServiceURLPath;
  final String uri = baseUri + "/" + ArjunaTX11Constants.TERMINATION_COORDINATOR_RPC_SERVICE_NAME;
  final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + coordinatorServiceURLPath;
  final String secureUri = secureBaseUri + "/" + ArjunaTX11Constants.TERMINATION_COORDINATOR_RPC_SERVICE_NAME;
  serviceRegistry.registerServiceProvider(ArjunaTX11Constants.TERMINATION_COORDINATOR_RPC_SERVICE_NAME, uri) ;
  serviceRegistry.registerSecureServiceProvider(ArjunaTX11Constants.TERMINATION_COORDINATOR_RPC_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts.xts/ws-t11

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 participantServiceURLPath = wstEnvironmentBean.getParticipantServiceURLPath();
  if (participantServiceURLPath == null) {
    participantServiceURLPath = "/ws-t11-participant";
  }
  if (bindAddress == null) {
    bindAddress = "localhost";
  }
  if (bindPort == 0) {
    bindPort = 8080;
  }
  if (secureBindPort == 0) {
    secureBindPort = 8443;
  }
  final String baseUri = "http://" +  bindAddress + ":" + bindPort + participantServiceURLPath;
  final String uri = baseUri + "/" + BusinessActivityConstants.PARTICIPANT_COMPLETION_PARTICIPANT_SERVICE_NAME;
  final String secureBaseUri = "https://" +  bindAddress + ":" + secureBindPort + participantServiceURLPath;
  final String secureUri = secureBaseUri + "/" + BusinessActivityConstants.PARTICIPANT_COMPLETION_PARTICIPANT_SERVICE_NAME;
  serviceRegistry.registerServiceProvider(BusinessActivityConstants.PARTICIPANT_COMPLETION_PARTICIPANT_SERVICE_NAME, uri) ;
  serviceRegistry.registerSecureServiceProvider(BusinessActivityConstants.PARTICIPANT_COMPLETION_PARTICIPANT_SERVICE_NAME, secureUri) ;
}

代码示例来源:origin: org.jboss.jbossts.xts/ws-t11

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) ;
}

代码示例来源:origin: org.jboss.jbossts.xts/ws-t11

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) ;
}

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com