|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape
This class provides static access to IJCOClientConnection instances,
and to get information about the SLD.
| Constructor Summary | |
WDSystemLandscape()
|
|
| Method Summary | |
static WDJCOClientConnectionStatus |
checkStatus(java.lang.String name)
Returns the status of requested JCO client connection. |
static WDJCOClientConnectionStatus |
checkStatus(java.lang.String name,
boolean resetCache)
Returns the status of requested JCO client connection. |
static IWDJCOClientConnection |
createJCOClientConnection(java.lang.String name,
int maxPoolSize,
int maxNumberOfConnections,
int maxWaitTime,
int connectionTimeOut,
java.lang.String msgServerName,
java.lang.String systemName,
java.lang.String logonGroup,
java.lang.String client,
WDUserDefinitionType userDefinition,
java.lang.String user,
java.lang.String password,
java.lang.String sncMode,
java.lang.String sncSecurityLevel,
java.lang.String sncPartnerName,
java.lang.String sncName,
java.lang.String sncLibraryPath,
java.lang.String language,
java.lang.String j2eeClusterName)
Creates a new instance of IWDJCOClientConnection defined by the message server name,
the system name and the logon group. |
static IWDJCOClientConnection |
createJCOClientConnection(java.lang.String name,
int maxPoolSize,
int maxNumberOfConnections,
int maxWaitTime,
int connectionTimeOut,
java.lang.String appServerName,
java.lang.String systemNumber,
java.lang.String client,
WDUserDefinitionType userDefinition,
java.lang.String user,
java.lang.String password,
java.lang.String sncMode,
java.lang.String sncSecurityLevel,
java.lang.String sncPartnerName,
java.lang.String sncName,
java.lang.String sncLibraryPath,
java.lang.String language,
java.lang.String j2eeClusterName)
Creates a new instance of IWDJCOClientConnection defined by application server name
and system number. |
static IWDJCOClientConnection |
createJCOClientConnection(java.lang.String name,
int maxPoolSize,
java.lang.String msgServerName,
java.lang.String systemName,
java.lang.String logonGroup,
java.lang.String client,
WDUserDefinitionType userDefinition,
java.lang.String user,
java.lang.String password,
java.lang.String language)
Creates a new instance of IJCOClientConnection defined by the message server name,
the system name and the logon group assigned to the local J2EE engine. |
static IWDJCOClientConnection |
createJCOClientConnection(java.lang.String name,
int maxPoolSize,
java.lang.String msgServerName,
java.lang.String systemName,
java.lang.String logonGroup,
java.lang.String client,
WDUserDefinitionType userDefinition,
java.lang.String user,
java.lang.String password,
java.lang.String sncMode,
java.lang.String sncSecurityLevel,
java.lang.String sncPartnerName,
java.lang.String sncName,
java.lang.String sncLibraryPath,
java.lang.String language,
java.lang.String j2eeClusterName)
Creates a new instance of IJCOClientConnection defined by the message server name,
the system name and the logon group. |
static IWDJCOClientConnection |
createJCOClientConnection(java.lang.String name,
int maxPoolSize,
java.lang.String appServerName,
java.lang.String systemNumber,
java.lang.String client,
WDUserDefinitionType userDefinition,
java.lang.String user,
java.lang.String password,
java.lang.String language)
Creates a new instance of IWDJCOClientConnection defined by application server name
and system number assigned to the local J2EE cluster. |
static IWDJCOClientConnection |
createJCOClientConnection(java.lang.String name,
int maxPoolSize,
java.lang.String appServerName,
java.lang.String systemNumber,
java.lang.String client,
WDUserDefinitionType userDefinition,
java.lang.String user,
java.lang.String password,
java.lang.String sncMode,
java.lang.String sncSecurityLevel,
java.lang.String sncPartnerName,
java.lang.String sncName,
java.lang.String sncLibraryPath,
java.lang.String language,
java.lang.String j2eeClusterName)
Creates a new instance of IJCOClientConnection defined by application server name
and system number. |
IWDJCOClientConnection |
createJCOClientConnection(java.lang.String name,
IWDJCOClientConnection source)
Creates a new instance of IWDJCOClientConnection as a copy of the specified
IWDJCOOClientConnection> instance. |
static com.sap.lcr.api.sapmodel.SAP_J2EEEngineCluster |
getCurrentJ2EECluster()
Deprecated. To keep the Web Dynpro Services API independant from the SLD API, support for this method has been discarded. When running in the SAP J2EE Engine, you can use the API of the engine's SLD service to retrieve the SAP_J2EEEngineCluster. This method may be withdrawn with the first new NetWeaver release in 2006. |
static java.lang.String |
getCurrentJ2EEClusterName()
Return the name of the current J2EE cluster instance. |
static java.lang.String |
getJ2EEVersionInfo()
Returns the version of the current J2EE Engine cluster. |
static IWDJCOClientConnection |
getJCOClientConnection(java.lang.String name)
Returns an instance of IJCOClientConnection which is assigned to the local J2EE cluster. |
static IWDJCOClientConnection |
getJCOClientConnection(java.lang.String name,
java.lang.String j2eeClusterName)
Returns an istance of IJCOClientConnection. |
static java.lang.String[] |
getJCOClientConnectionNames(java.lang.String clusterName)
Returns the list of the defined JCO client connections associated to the specified J2EE engine cluster. |
static java.lang.String |
getSLDHost()
Return the host name of the used system landscape directory (SLD). |
static int |
getSLDPort()
Return the port name of the used system landscape directory (SLD). |
static java.lang.String |
getSLDStartURL()
Return the URL to start the assigned SLD. |
static java.lang.String |
getSLDUser()
Return the user name of the used system landscape directory (SLD). |
static void |
invalidateCache()
Invaldiate the internal cache. |
static boolean |
pingSLDConnection()
Return FALSE if the configured SLD connection could not be pinged. |
static void |
removeJCOClientConnection(java.lang.String name,
java.lang.String j2eeClusterName)
Removes the specified JCOClientConnection. |
static void |
setSLDConnection(java.lang.String host,
java.lang.String port,
java.lang.String user,
java.lang.String password)
Deprecated. Beginning with NetWeaver 04, connection information for the System Landscape Directory (SLD) is maintained by the J2EE service sld. Support for setting this information
from within Web Dynpro therefore has been discarded, use the Visual Admin tool instead.
This method may be withdrawn with the first new NetWeaver release in 2006. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WDSystemLandscape()
| Method Detail |
public static IWDJCOClientConnection getJCOClientConnection(java.lang.String name,
java.lang.String j2eeClusterName)
throws WDSystemLandscapeException
IJCOClientConnection.name - the name of the JCO client connection.j2eeClusterName - the name of the J2EE cluster, to which the JCO connection is assigendIJCOClientConnectionJCOClientException - if there is no such JCO client connection defined.
public static IWDJCOClientConnection getJCOClientConnection(java.lang.String name)
throws WDSystemLandscapeException
IJCOClientConnection which is assigned to the local J2EE cluster.name - the name of the JCO client connection.IJCOClientConnectionJCOClientException - if there is no such JCO client connection defined.
public static void removeJCOClientConnection(java.lang.String name,
java.lang.String j2eeClusterName)
throws WDSystemLandscapeException
JCOClientConnection.name - the name of the JCO client connection.j2eeClusterName - the name of the J2EE cluster, to which the JCO connection is assigendWDSystemLandscapeException - if the specified JCO client connection could not be removed
public static IWDJCOClientConnection createJCOClientConnection(java.lang.String name,
int maxPoolSize,
int maxNumberOfConnections,
int maxWaitTime,
int connectionTimeOut,
java.lang.String msgServerName,
java.lang.String systemName,
java.lang.String logonGroup,
java.lang.String client,
WDUserDefinitionType userDefinition,
java.lang.String user,
java.lang.String password,
java.lang.String sncMode,
java.lang.String sncSecurityLevel,
java.lang.String sncPartnerName,
java.lang.String sncName,
java.lang.String sncLibraryPath,
java.lang.String language,
java.lang.String j2eeClusterName)
throws WDSystemLandscapeException
IWDJCOClientConnection defined by the message server name,
the system name and the logon group.
The used repository depends on the implementation.name - the name of the JCO client connectionmaxPoolSize - the maximal pool size (i.e. the maximal open connections managed by the pool)maxNumberOfConnections - the maximal number of connections provided by the pool.maxWaitTime - the maximal wait time (i.e. the maximal time, waiting for a new JCO.Client)connectionTimeOut - defines the time after that a open and unused connection managed by the pool is closed.msgServerName - the name of the message serversystemName - the name of the R/3 systemlogonGroup - the used logon groupclient - the used clientuserDefinition - defines which kind of user definition is used.
Possible values are:
'useSSO': the user is defined using SSO
'useX509': the user is defined using X509 client certificate
'useDefinedUser': the defined user is useuser - the name of the userpassword - the password of the user (is needed when sncMode - the used Secure network connection (SNC) mode, 0 (off) or 1 (on) (is needed when sncSecurityLevel - the used SNC level of security, 1 to 9 (is needed when sncPartnerName - the SNC partner, e.g. "p:CN=R3, O=XYZ-INC, C=EN" (is needed when sncName - the used SNC name. Overrides default SNC partner (is needed when sncLibraryPath - the path to the library which provides SNC service (is needed when language - the language of the userj2eeClusterName - the name of the J2EE cluster, to which the JCO connection is assigendWDSystemLandscapeException - if the creation of the new JCO client connection failed.
public static IWDJCOClientConnection createJCOClientConnection(java.lang.String name,
int maxPoolSize,
java.lang.String msgServerName,
java.lang.String systemName,
java.lang.String logonGroup,
java.lang.String client,
WDUserDefinitionType userDefinition,
java.lang.String user,
java.lang.String password,
java.lang.String sncMode,
java.lang.String sncSecurityLevel,
java.lang.String sncPartnerName,
java.lang.String sncName,
java.lang.String sncLibraryPath,
java.lang.String language,
java.lang.String j2eeClusterName)
throws WDSystemLandscapeException
IJCOClientConnection defined by the message server name,
the system name and the logon group.
The used repository depends on the implementation.name - the name of the JCO client connectionmaxPoolSize - the maximal pool sizemsgServerName - the name of the message serversystemName - the name of the R/3 systemlogonGroup - the used logon groupclient - the used clientuserDefinition - defines which kind of user definition is used.
Possible values are:
'useSSO': the user is defined using SSO
'useX509': the user is defined using X509 client certificate
'useDefinedUser': the defined user is used
'useSNC': the user is defined using SNCuser - the name of the user (is needed when password - the password of the user (is needed when sncMode - the used Secure network connection (SNC) mode, 0 (off) or 1 (on) (is needed when sncSecurityLevel - the used SNC level of security, 1 to 9 (is needed when sncPartnerName - the SNC partner, e.g. "p:CN=R3, O=XYZ-INC, C=EN" (is needed when sncName - the used SNC name. Overrides default SNC partner (is needed when sncLibraryPath - the path to the library which provides SNC service (is needed when language - the language of the userj2eeClusterName - the name of the J2EE cluster, to which the JCO connection is assigendJCOClientException - if the creation of the new JCO client connection failed.
public static IWDJCOClientConnection createJCOClientConnection(java.lang.String name,
int maxPoolSize,
java.lang.String msgServerName,
java.lang.String systemName,
java.lang.String logonGroup,
java.lang.String client,
WDUserDefinitionType userDefinition,
java.lang.String user,
java.lang.String password,
java.lang.String language)
throws WDSystemLandscapeException
IJCOClientConnection defined by the message server name,
the system name and the logon group assigned to the local J2EE engine.
The used repository depends on the implementation.name - the name of the JCO client connectionmaxPoolSize - the maximal pool sizemsgServerName - the name of the message serversystemName - the name of the R/3 systemlogonGroup - the used logon groupclient - the used clientuserDefinition - defines which kind of user definition is used.
Possible values are:
'useSSO': the user is defined using SSO
'useX509': the user is defined using X509 client certificate
'useDefinedUser': the defined user is useuser - the name of the userpassword - the password of the user (is needed when language - the language of the userJCOClientException - if the creation of the new JCO client connection failed.
public static IWDJCOClientConnection createJCOClientConnection(java.lang.String name,
int maxPoolSize,
int maxNumberOfConnections,
int maxWaitTime,
int connectionTimeOut,
java.lang.String appServerName,
java.lang.String systemNumber,
java.lang.String client,
WDUserDefinitionType userDefinition,
java.lang.String user,
java.lang.String password,
java.lang.String sncMode,
java.lang.String sncSecurityLevel,
java.lang.String sncPartnerName,
java.lang.String sncName,
java.lang.String sncLibraryPath,
java.lang.String language,
java.lang.String j2eeClusterName)
throws WDSystemLandscapeException
IWDJCOClientConnection defined by application server name
and system number.
The used repository depends on the implementation.name - the name of the JCO client connectionmaxPoolSize - the maximal pool size (i.e. the maximal open connections managed by the pool)maxNumberOfConnections - the maximal number of connections provided by the pool.maxWaitTime - the maximal wait time (i.e. the maximal time, waiting for a new JCO.Client)connectionTimeOut - defines the time after that a open and unused connection managed by the pool is closed.appServerName - the name of the application serversystemNumber - the system number name of the R/3 systemclient - the used clientuserDefinition - defines which kind of user definition is used.
Possible values are:
'useSSO': the user is defined using SSO
'useX509': the user is defined using X509 client certificate
'useDefinedUser': the defined user is useduser - the name of the userpassword - the password of the user (is needed when sncMode - the used Secure network connection (SNC) mode, 0 (off) or 1 (on) (is needed when sncSecurityLevel - the used SNC level of security, 1 to 9 (is needed when sncPartnerName - the SNC partner, e.g. "p:CN=R3, O=XYZ-INC, C=EN" (is needed when sncName - the used SNC name. Overrides default SNC partner (is needed when sncLibraryPath - the path to the library which provides SNC service (is needed when language - the language of the userj2eeClusterName - the name of the J2EE cluster, to which the JCO connection is assigendWDSystemLandscapeException - if the creation of the new JCO client connection failed.
public static IWDJCOClientConnection createJCOClientConnection(java.lang.String name,
int maxPoolSize,
java.lang.String appServerName,
java.lang.String systemNumber,
java.lang.String client,
WDUserDefinitionType userDefinition,
java.lang.String user,
java.lang.String password,
java.lang.String sncMode,
java.lang.String sncSecurityLevel,
java.lang.String sncPartnerName,
java.lang.String sncName,
java.lang.String sncLibraryPath,
java.lang.String language,
java.lang.String j2eeClusterName)
throws WDSystemLandscapeException
IJCOClientConnection defined by application server name
and system number.
The used repository depends on the implementation.name - the name of the JCO client connectionmaxPoolSize - the maximal pool sizeappServerName - the name of the application serversystemNumber - the system number name of the R/3 systemclient - the used clientuserDefinition - defines which kind of user definition is used.
Possible values are:
'useSSO': the user is defined using SSO
'useX509': the user is defined using X509 client certificate
'useDefinedUser': the defined user is used
'useSNC': the user is defined using SNCuser - the name of the user (is needed when password - the password of the user (is needed when sncMode - the used Secure network connection (SNC) mode, 0 (off) or 1 (on) (is needed when sncSecurityLevel - the used SNC level of security, 1 to 9 (is needed when sncPartnerName - the SNC partner, e.g. "p:CN=R3, O=XYZ-INC, C=EN" (is needed when sncName - the used SNC name. Overrides default SNC partner (is needed when sncLibraryPath - the path to the library which provides SNC service (is needed when language - the language of the userj2eeClusterName - the name of the J2EE cluster, to which the JCO connection is assigendJCOClientException - if the creation of the new JCO client connection failed.
public static IWDJCOClientConnection createJCOClientConnection(java.lang.String name,
int maxPoolSize,
java.lang.String appServerName,
java.lang.String systemNumber,
java.lang.String client,
WDUserDefinitionType userDefinition,
java.lang.String user,
java.lang.String password,
java.lang.String language)
throws WDSystemLandscapeException
IWDJCOClientConnection defined by application server name
and system number assigned to the local J2EE cluster.
The used repository depends on the implementation.name - the name of the JCO client connectionmaxPoolSize - the maximal pool sizeappServerName - the name of the application serversystemNumber - the system number name of the R/3 systemclient - the used clientuserDefinition - defines which kind of user definition is used.
Possible values are:
'useSSO': the user is defined using SSO
'useX509': the user is defined using X509 client certificate
'useDefinedUser': the defined user is useduser - the name of the userpassword - the password of the user (is needed when language - the language of the userJCOClientException - if the creation of the new JCO client connection failed.
public IWDJCOClientConnection createJCOClientConnection(java.lang.String name,
IWDJCOClientConnection source)
throws WDSystemLandscapeException
IWDJCOClientConnection as a copy of the specified
IWDJCOOClientConnection> instance.
- Parameters:
name - the name of the new JCO client connectionsource - the IWDJCOClientConnection which should be copied- Returns:
- the new (copied) JCOClient connection
- Throws:
WDSystemLandscapeException - if the creation of the new JCO client connection failed.
public static java.lang.String[] getJCOClientConnectionNames(java.lang.String clusterName)
throws WDSystemLandscapeException
clusterName - the name of the J2EE engine cluster to which the JCO client connections should be associated.WDSystemLandscapeException - if the creation of the new JCO client connection failed.public static WDJCOClientConnectionStatus checkStatus(java.lang.String name)
name - the name of the JCO client connection
public static WDJCOClientConnectionStatus checkStatus(java.lang.String name,
boolean resetCache)
name - the name of the JCO client connectionresetCache - TRUE if the check should reset the cached connection information. FALSE otherwise.public static com.sap.lcr.api.sapmodel.SAP_J2EEEngineCluster getCurrentJ2EECluster()
SAP_J2EEEngineCluster, which represents the current J2EE cluster.public static java.lang.String getCurrentJ2EEClusterName()
public static void setSLDConnection(java.lang.String host,
java.lang.String port,
java.lang.String user,
java.lang.String password)
sld. Support for setting this information
from within Web Dynpro therefore has been discarded, use the Visual Admin tool instead.
This method may be withdrawn with the first new NetWeaver release in 2006.
public static java.lang.String getSLDHost()
public static int getSLDPort()
public static java.lang.String getSLDUser()
public static java.lang.String getSLDStartURL()
public static boolean pingSLDConnection()
public static void invalidateCache()
public static java.lang.String getJ2EEVersionInfo()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||