|
Oracle Communications Services Gatekeeper OAM Java API Reference 7.0.0.1 E96580-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Exposes connection info of remote hosts (network node or SMSC) and listen address details of ServerService.
Field Summary | |
static boolean |
validationEnabled
If set to true, the Plug-in Manager validates the plug-in instance ID before the Connection Information Manager creates an entry for it in the credential map. |
Method Summary | |
abstract oracle.ocsg.plugin.connection.management.Credential |
addXParamToCredentialEntry(java.lang.String credentialId,
java.lang.String xParamName,
java.lang.String xParamValue)
Adds extra parameter values to credential mapping. |
abstract java.util.Map |
createOrUpdateCredentialMap(java.lang.String pluginInstanceId,
java.lang.String appId,
java.lang.String credentialId)
Creates a new entry or updates an existing entry in the credential map associated with the pluginInstanceId. |
abstract void |
createOrUpdateListenAddress(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String targets)
Adds a listen address configuration. |
abstract void |
createOrUpdateLocalHostAddress(java.lang.String pluginInstanceId,
java.lang.String localHost,
int localPort,
java.lang.String targets)
Adds a local host address or updates an existing entry. |
abstract void |
createOrUpdateRemoteHostAddress(java.lang.String pluginInstanceId,
java.lang.String remoteHost,
int remotePort)
Creates or updates the connection details for the remote host to which the specified plug-in instance connects. |
abstract oracle.ocsg.plugin.connection.management.Credential |
createOrUpdateUserPasswordCredentialEntry(java.lang.String credentialId,
java.lang.String remoteUser,
java.lang.String remotePassword)
Creates or updates the user and password parameters associated with the specified credentialId. |
abstract java.util.Set |
getAllListenAddress(java.lang.String protocol)
Returns a list of ServerAddress configured for this domain for the given protocol. |
abstract oracle.ocsg.plugin.connection.management.ConnectInfo |
getConnectInfo(java.lang.String pluginInstanceId)
Returns the ConnectInfo of the remote host (SMSC / network node) for the server on which this MBean resides. |
abstract java.util.Set |
getListenAddressForCurrentServer(java.lang.String protocol)
Returns a list of ServerAddresses configured for the current server for the given protocol This is a convenience method for the caller to get a subset of configured listen addresses which are targeted to the current server. |
abstract boolean |
isValidationEnabled()
Returns a boolean indicating whether validation is enabled. |
abstract java.util.Map |
listAllCredentialEntries()
Gives a map of credentialIds and the associated Credential objects in the configuration. |
abstract void |
removeConnectInfo(java.lang.String pluginInstanceId)
Removes the remote host's connect address, local connect address along with credential mapping for the given pluginInstanceId. |
abstract void |
removeCredentialEntry(java.lang.String credentialId)
Removes the specified credential entry from the configuration. |
abstract void |
removeCredentialMap(java.lang.String pluginInstanceId,
java.lang.String appId)
Removes the credential association between the given appId and the associated credential, if any, from the given pluginInstanceId's connect info configuration. |
abstract void |
removeListenAddress(java.lang.String protocol,
java.lang.String host,
int port)
Removes this listen address configuration from all the targets. |
abstract void |
removeLocalHostAddress(java.lang.String pluginInstanceId)
Removes the local host address info associated with this pluginInstanceId. |
abstract oracle.ocsg.plugin.connection.management.Credential |
removeXParamFromCredentialEntry(java.lang.String credentialId,
java.lang.String xParamName)
Removes the extra parameter associated with the given credentialId. |
abstract void |
setValidationEnabled(boolean enabled)
Setter to enable validation of targets and pluginInstanceIds. |
Field Detail |
public static final boolean validationEnabled
Scope: Cluster
Method Detail |
public oracle.ocsg.plugin.connection.management.Credential addXParamToCredentialEntry(java.lang.String credentialId, java.lang.String xParamName, java.lang.String xParamValue) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
credentialId
- - Unique identifier for the credential in the configuration.xParamName
- User-defined name for the parameterxParamValue
- Value of the parameter
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public java.util.Map createOrUpdateCredentialMap(java.lang.String pluginInstanceId, java.lang.String appId, java.lang.String credentialId) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId
- the plugin instance id.appId
- - application instance ID/OCSG user who needs to be mapped to the remote host.credentialId
- - ID of an existing credential entry in the configuration. If this value is empty or null,
the existing mapping if any for the given appId is removed. If this value doesn't match any of the existing
credentialId, ManagementException will be thrown.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public void createOrUpdateListenAddress(java.lang.String protocol, java.lang.String host, int port, java.lang.String targets) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
protocol
- - Name of the protocol, for example UCP or SMPPhost
- - Host name or IP address. Defaults to localhostport
- - Port number to bind to.targets
- - Server names or cluster name - comma separated. If left blank, this config will be
applicable to all the targets in the cluster.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public void createOrUpdateLocalHostAddress(java.lang.String pluginInstanceId, java.lang.String localHost, int localPort, java.lang.String targets) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId
- plugin instance id.localHost
- local host name.localPort
- - This will be used as the starting port in cases where multiple connections need
to be opened to the remote host. The local port number will be incremented by 1 for additional connections.targets
- - server names or cluster name - comma separated. If left blank, this config will be
applicable to all the targets in the cluster.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public void createOrUpdateRemoteHostAddress(java.lang.String pluginInstanceId, java.lang.String remoteHost, int remotePort) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId
- plugin instance id.remoteHost
- remote host name.remotePort
- remote host number.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public oracle.ocsg.plugin.connection.management.Credential createOrUpdateUserPasswordCredentialEntry(java.lang.String credentialId, java.lang.String remoteUser, java.lang.String remotePassword) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
credentialId
- - Unique identifier for the credential in the configuration.remoteUser
- Value of the attribute 'user'.remotePassword
- Value of the attribute 'password'.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public java.util.Set getAllListenAddress(java.lang.String protocol) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
protocol
- Name of the protocol, like UCP or SMPP.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public oracle.ocsg.plugin.connection.management.ConnectInfo getConnectInfo(java.lang.String pluginInstanceId) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId
- plugin instance id.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public java.util.Set getListenAddressForCurrentServer(java.lang.String protocol) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
protocol
- Name of the protocol, like UCP or SMPP.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public boolean isValidationEnabled()
Scope: Cluster
public java.util.Map listAllCredentialEntries() throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public void removeConnectInfo(java.lang.String pluginInstanceId) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId
- plugin instance id.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public void removeCredentialEntry(java.lang.String credentialId) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
credentialId
- - Unique identifier for the credential in the configuration.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public void removeCredentialMap(java.lang.String pluginInstanceId, java.lang.String appId) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId
- plugin instance id.appId
- application id.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public void removeListenAddress(java.lang.String protocol, java.lang.String host, int port) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
protocol
- Name of the protocol, like UCP or SMPP.host
- host name.port
- port number.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public void removeLocalHostAddress(java.lang.String pluginInstanceId) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId
- plugin instance id.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public oracle.ocsg.plugin.connection.management.Credential removeXParamFromCredentialEntry(java.lang.String credentialId, java.lang.String xParamName) throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
credentialId
- credential id.xParamName
- parameter name.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public void setValidationEnabled(boolean enabled)
Scope: Cluster
enabled
- True if plug-in instance validation should be done.
|
Oracle Communications Services Gatekeeper OAM Java API Reference 7.0.0.1 E96580-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |