com.sapportals.portal.prt.service.clusterinformation

Interface IClusterInformation


public interface IClusterInformation

Provides information about the server nodes in the cluster configuration


Field Summary
static String KEY
          service key
 
Method Summary
 String getCoreVersion(int id)
          Deprecated. As of SAP NetWeaver 7.30
 int[] getIDClusterElements()
          Returns a list of IDs of all server nodes
 String[] getJarsReferenceIRJ()
          Deprecated. As of SAP NetWeaver 7.30
 int getNodeId()
          Returns the ID of the current server node
 String getOSName(int id)
          Returns the OS name of the cluster element with the specified ID
 String getPRTBridgeVersionManifest(int id)
          Returns the PRTBridge version of the server node with the specified ID
 String getSAPJ2EEServerDirectory()
          Returns the installation directory of SAP AS Java
 String getServerIP(int id)
          Returns the IP address of the server node with the specified ID
 String getServerName(int id)
          Returns the name of the server with the specified ID
 int getServerPort(int id)
          Returns the port of the server with the specified ID
 boolean isDispatcher(int id)
          Returns a Boolean indicating if the server node with the specified ID is a dispatcher
 void isVersionsCompatible(int id, String version)
          Checks if the PRTBridge version and the notification service version of the cluster element with the specified ID are compatible; if not, throws an ClusterVersionException
 

Field Detail

KEY

static final String KEY
service key

See Also:
Constant Field Values
Method Detail

getIDClusterElements

int[] getIDClusterElements()
Returns a list of IDs of all server nodes

Returns:
A list of server node ID

getNodeId

int getNodeId()
Returns the ID of the current server node

Returns:
the ID of the current server node

getServerName

String getServerName(int id)
Returns the name of the server with the specified ID

Returns:
The name of the server

getServerPort

int getServerPort(int id)
Returns the port of the server with the specified ID

Returns:
The port of the server

getServerIP

String getServerIP(int id)
Returns the IP address of the server node with the specified ID

Returns:
The IP address of the server node

isDispatcher

boolean isDispatcher(int id)
Returns a Boolean indicating if the server node with the specified ID is a dispatcher

Returns:
A Boolean indicating if the server node is a dispatcher

getPRTBridgeVersionManifest

String getPRTBridgeVersionManifest(int id)
Returns the PRTBridge version of the server node with the specified ID

Returns:
The PRTBridge version of the server node, or "N.A", if PRTBridge.jar is not installed

getCoreVersion

String getCoreVersion(int id)
Deprecated. As of SAP NetWeaver 7.30

Returns the core version of SAP AS Java of the server node with the specified ID

Returns:
The core version of SAP AS Java of the server node

getOSName

String getOSName(int id)
Returns the OS name of the cluster element with the specified ID

Returns:
the OS name of the cluster element

isVersionsCompatible

void isVersionsCompatible(int id,
                          String version)
                          throws ClusterVersionException
Checks if the PRTBridge version and the notification service version of the cluster element with the specified ID are compatible; if not, throws an ClusterVersionException

Throws:
ClusterVersionException

getJarsReferenceIRJ

String[] getJarsReferenceIRJ()
Deprecated. As of SAP NetWeaver 7.30

Returns JARs listed in the reference.txt file for the current server node


getSAPJ2EEServerDirectory

String getSAPJ2EEServerDirectory()
Returns the installation directory of SAP AS Java

Returns:
The installation directory of SAP AS Java
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS [sap.com] tc/epbc/prt/apps api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice