|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
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 | |
Credential |
addXParamToCredentialEntry(String credentialId, String xParamName, String xParamValue) Adds extra parameter values to credential mapping. |
Map |
createOrUpdateCredentialMap(String pluginInstanceId, String appId, String credentialId) Creates a new entry or updates an existing entry in the credential map associated with the pluginInstanceId. |
void |
createOrUpdateListenAddress(String protocol, String host, int port, String targets) Adds a listen address configuration. |
void |
createOrUpdateLocalHostAddress(String pluginInstanceId, String localHost, int localPort, String targets) Adds a local host address or updates an existing entry. |
void |
createOrUpdateRemoteHostAddress(String pluginInstanceId, String remoteHost, int remotePort) Creates or updates the connection details for the remote host to which the specified plug-in instance connects. |
Credential |
createOrUpdateUserPasswordCredentialEntry(String credentialId, String remoteUser, String remotePassword) Creates or updates the user and password parameters associated with the specified credentialId. |
Set |
getAllListenAddress(String protocol) Returns a list of ServerAddress configured for this domain for the given protocol. |
ConnectInfo |
getConnectInfo(String pluginInstanceId) Returns the ConnectInfo of the remote host (SMSC / network node) for the server on which this MBean resides. |
Set |
getListenAddressForCurrentServer(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. |
boolean |
isValidationEnabled() Returns a boolean indicating whether validation is enabled. |
Map |
listAllCredentialEntries() Gives a map of credentialIds and the associated Credential objects in the configuration. |
void |
removeConnectInfo(String pluginInstanceId) Removes the remote host's connect address, local connect address along with credential mapping for the given pluginInstanceId. |
void |
removeCredentialEntry(String credentialId) Removes the specified credential entry from the configuration. |
void |
removeCredentialMap(String pluginInstanceId, String appId) Removes the credential association between the given appId and the associated credential, if any, from the given pluginInstanceId's connect info configuration. |
void |
removeListenAddress(String protocol, String host, int port) Removes this listen address configuration from all the targets. |
void |
removeLocalHostAddress(String pluginInstanceId) Removes the local host address info associated with this pluginInstanceId. |
Credential |
removeXParamFromCredentialEntry(String credentialId, String xParamName) Removes the extra parameter associated with the given credentialId. |
void |
setValidationEnabled(boolean enabled) Setter to enable validation of targets and pluginInstanceIds. |
Field Detail |
public static final boolean validationEnabled
Scope: Cluster
Method Detail |
public Credential addXParamToCredentialEntry(String credentialId, String xParamName, String xParamValue) throws ManagementException
Scope: Cluster
credentialId
- - Unique identifier for the credential in the configuration.xParamName
- User-defined name for the parameterxParamValue
- Value of the parameterManagementException.
ManagementException
public Map createOrUpdateCredentialMap(String pluginInstanceId, String appId, String credentialId) throws ManagementException
Scope: Cluster
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.
ManagementException
public void createOrUpdateListenAddress(String protocol, String host, int port, String targets) throws 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.
ManagementException
public void createOrUpdateLocalHostAddress(String pluginInstanceId, String localHost, int localPort, String targets) throws 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.
ManagementException
public void createOrUpdateRemoteHostAddress(String pluginInstanceId, String remoteHost, int remotePort) throws ManagementException
Scope: Cluster
pluginInstanceId
- plugin instance id.remoteHost
- remote host name.remotePort
- remote host number.ManagementException.
ManagementException
public Credential createOrUpdateUserPasswordCredentialEntry(String credentialId, String remoteUser, String remotePassword) throws 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.
ManagementException
public Set getAllListenAddress(String protocol) throws ManagementException
Scope: Cluster
protocol
- Name of the protocol, like UCP or SMPP.ManagementException.
ManagementException
public ConnectInfo getConnectInfo(String pluginInstanceId) throws ManagementException
Scope: Cluster
pluginInstanceId
- plugin instance id.ManagementException.
ManagementException
public Set getListenAddressForCurrentServer(String protocol) throws ManagementException
Scope: Cluster
protocol
- Name of the protocol, like UCP or SMPP.ManagementException.
ManagementException
public boolean isValidationEnabled()
Scope: Cluster
public Map listAllCredentialEntries() throws ManagementException
Scope: Cluster
ManagementException.
ManagementException
public void removeConnectInfo(String pluginInstanceId) throws ManagementException
Scope: Cluster
pluginInstanceId
- plugin instance id.ManagementException.
ManagementException
public void removeCredentialEntry(String credentialId) throws ManagementException
Scope: Cluster
credentialId
- - Unique identifier for the credential in the configuration.ManagementException.
ManagementException
public void removeCredentialMap(String pluginInstanceId, String appId) throws ManagementException
Scope: Cluster
pluginInstanceId
- plugin instance id.appId
- application id.ManagementException.
ManagementException
public void removeListenAddress(String protocol, String host, int port) throws ManagementException
Scope: Cluster
protocol
- Name of the protocol, like UCP or SMPP.host
- host name.port
- port number.ManagementException.
ManagementException
public void removeLocalHostAddress(String pluginInstanceId) throws ManagementException
Scope: Cluster
pluginInstanceId
- plugin instance id.ManagementException.
ManagementException
public Credential removeXParamFromCredentialEntry(String credentialId, String xParamName) throws ManagementException
Scope: Cluster
credentialId
- credential id.xParamName
- parameter name.ManagementException.
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 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |