Public Member Functions | |
int | giveBasePort () |
String | giveManagerPort () |
String | giveNamingServicePort () |
String | giveNotifyServicePort () |
String | giveLoggingServicePort () |
String | giveIRPort () |
String | giveAlarmNotifyServicePort () |
String | giveLogPort () |
String | giveCDBPort () |
String | giveContainerDaemonPort () |
String | giveServicesDaemonPort () |
String | giveIP () |
String | toString () |
Static Public Member Functions | |
int | getBasePort () |
String | getManagerPort () |
String | getNamingServicePort () |
String | getNotifyServicePort () |
String | getAlarmNotifyServicePort () |
String | getLoggingServicePort () |
String | getIRPort () |
String | getLogPort () |
String | getCDBPort () |
String | getContainerDaemonPort () |
String | getServicesDaemonPort () |
String | getIP () |
ACSPorts | globalInstance (int basePort) |
Static Public Attributes | |
final String | ACS_BASE_PORT_VARIABLE = "ACS.baseport" |
final String | ACS_BASE_PORT_DEFAULT = "0" |
Package Attributes | |
int | basePort |
Private Member Functions | |
ACSPorts (int basePort) | |
Static Private Member Functions | |
ACSPorts | globalInstanceForSystemProperty () |
Static Private Attributes | |
Vector< ACSPorts > | instances = new Vector<ACSPorts>() |
Caution
Be careful with the method names:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
Default base port (integer ranging from 0-9). |
|
Name of environment variable defining base port. |
|
|
|
|