Public Member Functions | |
| int | giveBasePort () |
| String | giveManagerPort () |
| String | giveNamingServicePort () |
| String | giveNotifyServicePort () |
| String | giveLoggingServicePort () |
| String | giveIRPort () |
| String | giveAlarmNotifyServicePort () |
| String | giveLogPort () |
| String | giveCDBPort () |
| String | giveAlarmServicePort () |
| String | giveContainerDaemonPort () |
| String | giveServicesDaemonPort () |
| String | giveIP () |
| String | toString () |
Static Public Member Functions | |
| static int | getBasePort () |
| static String | getManagerPort () |
| static String | getNamingServicePort () |
| static String | getNotifyServicePort () |
| static String | getAlarmNotifyServicePort () |
| static String | getLoggingServicePort () |
| static String | getIRPort () |
| static String | getLogPort () |
| static String | getCDBPort () |
| static String | getAlarmServicePort () |
| static String | getContainerDaemonPort () |
| static String | getServicesDaemonPort () |
| static String | getIP () |
| static ACSPorts | globalInstance (int basePort) |
Static Public Attributes | |
| static final String | ACS_BASE_PORT_VARIABLE = "ACS.baseport" |
| static final String | ACS_BASE_PORT_DEFAULT = "0" |
Package Attributes | |
| int | basePort |
Used to figure out the dynamic ports ACS is running under.
Caution
Be careful with the method names:
giveXXX() is instance
| static String alma.acs.util.ACSPorts.getAlarmNotifyServicePort | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveAlarmNotifyServicePort().
| static String alma.acs.util.ACSPorts.getAlarmServicePort | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveAlarmServicePort().
| static int alma.acs.util.ACSPorts.getBasePort | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveBasePort().
| static String alma.acs.util.ACSPorts.getCDBPort | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveCDBPort().
| static String alma.acs.util.ACSPorts.getContainerDaemonPort | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveContainerDaemonPort().
| static String alma.acs.util.ACSPorts.getIP | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveIP().
| static String alma.acs.util.ACSPorts.getIRPort | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveIRPort().
| static String alma.acs.util.ACSPorts.getLoggingServicePort | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveLoggingServicePort().
| static String alma.acs.util.ACSPorts.getLogPort | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveLogPort().
| static String alma.acs.util.ACSPorts.getManagerPort | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveManagerPort().
| static String alma.acs.util.ACSPorts.getNamingServicePort | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveNamingServicePort().
| static String alma.acs.util.ACSPorts.getNotifyServicePort | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveNotifyServicePort().
| static String alma.acs.util.ACSPorts.getServicesDaemonPort | ( | ) | [static] |
References alma.acs.util.ACSPorts.giveServicesDaemonPort().
| String alma.acs.util.ACSPorts.giveAlarmNotifyServicePort | ( | ) |
References alma.acs.util.ACSPorts.basePort.
Referenced by alma.acs.util.ACSPorts.getAlarmNotifyServicePort().
| String alma.acs.util.ACSPorts.giveAlarmServicePort | ( | ) |
References alma.acs.util.ACSPorts.basePort.
Referenced by alma.acs.util.ACSPorts.getAlarmServicePort().
| int alma.acs.util.ACSPorts.giveBasePort | ( | ) |
References alma.acs.util.ACSPorts.basePort.
Referenced by alma.acs.util.ACSPorts.getBasePort().
| String alma.acs.util.ACSPorts.giveCDBPort | ( | ) |
References alma.acs.util.ACSPorts.basePort.
Referenced by alma.acs.util.ACSPorts.getCDBPort(), and alma.acs.commandcenter.app.ProjectRunModel.getServicesLocalJavaPort().
| String alma.acs.util.ACSPorts.giveContainerDaemonPort | ( | ) |
Referenced by alma.acs.util.ACSPorts.getContainerDaemonPort().
| String alma.acs.util.ACSPorts.giveIP | ( | ) |
Referenced by alma.acs.util.ACSPorts.getIP(), alma.acs.commandcenter.engine.ExecuteManager.startLocalScript(), and alma.acs.commandcenter.engine.ExecuteAcs.startLocalScript().
| String alma.acs.util.ACSPorts.giveIRPort | ( | ) |
References alma.acs.util.ACSPorts.basePort.
Referenced by alma.acs.util.ACSPorts.getIRPort().
| String alma.acs.util.ACSPorts.giveLoggingServicePort | ( | ) |
References alma.acs.util.ACSPorts.basePort.
Referenced by alma.acs.util.ACSPorts.getLoggingServicePort().
| String alma.acs.util.ACSPorts.giveLogPort | ( | ) |
References alma.acs.util.ACSPorts.basePort.
Referenced by alma.acs.util.ACSPorts.getLogPort().
| String alma.acs.util.ACSPorts.giveManagerPort | ( | ) |
References alma.acs.util.ACSPorts.basePort.
Referenced by alma.acs.commandcenter.app.ProjectRunModel.getManagerLocalJavaPort(), alma.acs.util.ACSPorts.getManagerPort(), alma.acs.commandcenter.engine.ExecuteManager.startLocalScript(), and alma.acs.commandcenter.engine.ExecuteAcs.startLocalScript().
| String alma.acs.util.ACSPorts.giveNamingServicePort | ( | ) |
References alma.acs.util.ACSPorts.basePort.
Referenced by alma.acs.util.ACSPorts.getNamingServicePort().
| String alma.acs.util.ACSPorts.giveNotifyServicePort | ( | ) |
References alma.acs.util.ACSPorts.basePort.
Referenced by alma.acs.util.ACSPorts.getNotifyServicePort().
| String alma.acs.util.ACSPorts.giveServicesDaemonPort | ( | ) |
Referenced by alma.acs.util.ACSPorts.getServicesDaemonPort().
| static ACSPorts alma.acs.util.ACSPorts.globalInstance | ( | int | basePort | ) | [static] |
Returns an instance of this class that is configured for the specified basePort.
In earlier versions of this class, one had to set a system property to calculate the ports for different instances.
Note that this will create a new instance only if necessary.
| String alma.acs.util.ACSPorts.toString | ( | ) |
References alma.acs.util.ACSPorts.basePort.
final String alma.acs.util.ACSPorts.ACS_BASE_PORT_DEFAULT = "0" [static] |
Default base port (integer ranging from 0-9).
final String alma.acs.util.ACSPorts.ACS_BASE_PORT_VARIABLE = "ACS.baseport" [static] |
Testing purposes only!
| args | Not used! Name of environment variable defining base port. |
int alma.acs.util.ACSPorts.basePort [package] |
Referenced by alma.acs.util.ACSPorts.giveAlarmNotifyServicePort(), alma.acs.util.ACSPorts.giveAlarmServicePort(), alma.acs.util.ACSPorts.giveBasePort(), alma.acs.util.ACSPorts.giveCDBPort(), alma.acs.util.ACSPorts.giveIRPort(), alma.acs.util.ACSPorts.giveLoggingServicePort(), alma.acs.util.ACSPorts.giveLogPort(), alma.acs.util.ACSPorts.giveManagerPort(), alma.acs.util.ACSPorts.giveNamingServicePort(), alma.acs.util.ACSPorts.giveNotifyServicePort(), and alma.acs.util.ACSPorts.toString().
1.7.0