public int getCoordinatorPort11() { if (coordinatorPort11 == 0) { // be sure to use the port appropriate to the protocol String scheme = getCoordinatorScheme11(); if ("https".equals(scheme)) { return bindPortSecure11; } else { return bindPort11; } } return coordinatorPort11; }
public int getCoordinatorPort11() { if (coordinatorPort11 == 0) { // be sure to use the port appropriate to the protocol String scheme = getCoordinatorScheme11(); if ("https".equals(scheme)) { return bindPortSecure11; } else { return bindPort11; } } return coordinatorPort11; }
/** * Returns the port which will be used to construct a coordinator URL if it is not specified. * * WS-C version: 1.1. * * @return the port which will be used to construct a coordinator URL if it is not specified. */ public int getCoordinatorPort11() { if (coordinatorPort11 == 0) { // be sure to use the port appropriate to the protocol String scheme = getCoordinatorScheme11(); if ("https".equals(scheme)) { return bindPortSecure11; } else { return bindPort11; } } return coordinatorPort11; }
/** * Returns the port which will be used to construct a coordinator URL if it is not specified. * * WS-C version: 1.1. * * @return the port which will be used to construct a coordinator URL if it is not specified. */ public int getCoordinatorPort11() { if (coordinatorPort11 == 0) { // be sure to use the port appropriate to the protocol String scheme = getCoordinatorScheme11(); if ("https".equals(scheme)) { return bindPortSecure11; } else { return bindPort11; } } return coordinatorPort11; }
public String getCoordinatorURL11() { if (coordinatorURL11 == null) { // compute the required value return getCoordinatorScheme11() + "://" + getCoordinatorAddress11() + ":" + getCoordinatorPort11() + "/" + getCoordinatorPath11(); } return coordinatorURL11; }
public String getCoordinatorURL11() { if (coordinatorURL11 == null) { // compute the required value return getCoordinatorScheme11() + "://" + getCoordinatorAddress11() + ":" + getCoordinatorPort11() + "/" + getCoordinatorPath11(); } return coordinatorURL11; }
/** * Returns the URL to be used by XTS clients to address the Activation Coordinator service when starting a transaction. * If this is undefined then a URL is constructed using the scheme, host address, port and URL path specified in the properties file or, * where they are missing, using their default values. * * WS-C version: 1.1. * * @return the URL to be used by XTS clients to address the Activation Coordinator service when starting a transaction. */ public String getCoordinatorURL11() { if (coordinatorURL11 == null) { // compute the required value return getCoordinatorScheme11() + "://" + getCoordinatorAddress11() + ":" + getCoordinatorPort11() + "/" + getCoordinatorPath11(); } return coordinatorURL11; }
/** * Returns the URL to be used by XTS clients to address the Activation Coordinator service when starting a transaction. * If this is undefined then a URL is constructed using the scheme, host address, port and URL path specified in the properties file or, * where they are missing, using their default values. * * WS-C version: 1.1. * * @return the URL to be used by XTS clients to address the Activation Coordinator service when starting a transaction. */ public String getCoordinatorURL11() { if (coordinatorURL11 == null) { // compute the required value return getCoordinatorScheme11() + "://" + getCoordinatorAddress11() + ":" + getCoordinatorPort11() + "/" + getCoordinatorPath11(); } return coordinatorURL11; }