|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.1 E65003-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Plug-in manager MBean
| Field Summary | |
static boolean |
forceConnectInResuming
True indicates that the plug-in will not start if it fails to establish communication toward the network in a protocol specific way. |
static boolean |
policyBasedRouting
Defines if policy-based routing is enabled. |
static boolean |
supportBulkRequest
Set to true to enable bulk request support. |
| Method Summary | |
abstract void |
addRoute(java.lang.String pluginInstanceId,
java.lang.String addressExpression)
Deprecated. Use setRouteConfig |
abstract void |
createPluginInstance(java.lang.String pluginServiceId,
java.lang.String pluginInstanceId)
Creates a new instance of a specific plug-in. |
abstract void |
destroyPluginInstance(java.lang.String pluginServiceId,
java.lang.String pluginInstanceId)
Destroys an existing plug-in instance. |
abstract boolean |
getForceConnectInResuming()
Returns true if the plug-in will not start if it fails to establish communication toward the network in a protocol specific way, false otherwise. |
abstract PluginInstanceInfo |
getPluginInstanceInfo(java.lang.String pluginInstanceId)
Gets information about a particular plug-in instance. |
abstract java.lang.String |
getPluginNodeId(java.lang.String pluginInstanceId)
Returns which plug-in node ID a plug-in instance is associated with, if any. |
abstract PluginServiceInfo |
getPluginServiceInfo(java.lang.String pluginServiceId)
Gets info for a specific plug-in service. |
abstract boolean |
getPolicyBasedRouting()
Returns true if policy-based routing is enabled. |
abstract java.lang.String |
getRouteConfig(java.lang.String pluginInstanceId)
Gets the route configuration for a specific plug-in instance. |
abstract com.bea.wlcp.wlng.api.plugin.ServiceInfo |
getServiceInfo(java.lang.String type)
Returns the service information for a given service type. |
abstract boolean |
getSupportBulkRequest()
Returns true bulk requests are supported. |
abstract boolean |
getSupportGroupAddressRequest()
|
abstract java.util.Map |
listInterceptors(java.lang.String ip)
Returns a list of all enabled interceptors in Services Gatekeeper. |
abstract java.lang.String[] |
listPluginInstances()
Lists all available plugin instances. Example: Plug-in instance ID#JEE application name#version of JEE applicationThe plug-in instance ID is the part of each entry up to the first #. |
abstract java.lang.String[] |
listPluginServices()
Lists plug-in service IDs. |
abstract PluginRouteDesc[] |
listRoutes()
Lists all configured routes. |
abstract java.lang.String[] |
listServiceTypes()
Lists all the available service types. |
abstract void |
removeRoute(java.lang.String pluginInstanceId,
java.lang.String addressExpression)
Deprecated. Use setRouteConfig |
abstract java.lang.String |
retrieveInterceptorConfiguration()
Returns the active interceptor rule configuration in Services Gatekeeper. |
abstract void |
setForceConnectInResuming(boolean force)
If set to true, a network protocol plug-in service is allowed to transition to state ACTIVE if it fails to establish a connection with the underlying network node during deployment or re-deployment. |
abstract void |
setPluginNodeId(java.lang.String pluginInstanceId,
java.lang.String nodeId)
Assigns a node ID to a plug-in. |
abstract void |
setPolicyBasedRouting(boolean policyBasedRoutingFlag)
If true, policy based routing is used, if false, policy-based routing is disabled. |
abstract void |
setRouteConfig(java.lang.String pluginInstanceId,
java.lang.String fileContent)
Sets the route configuration for a specific plug-in instance. |
abstract void |
setRouteConfigFromUrl(java.lang.String pluginInstanceId,
java.lang.String xmlConfigUrl)
Sets the route configuration for a specific plug-in instance. |
abstract void |
setSupportBulkRequest(boolean supportBulkRequest)
If set to true, SMS requests with multiple recipients are split into multiple individually-addressed SMS requests. |
abstract void |
setSupportGroupAddressRequest(boolean supportGroupAddressRequest)
Scope: Cluster |
abstract void |
updateInterceptorConfiguration(java.lang.String fileContent)
Updates the Services Gatekeeper interceptor rule configuration. |
| Field Detail |
public static final boolean forceConnectInResuming
Scope: Cluster
public static final boolean policyBasedRouting
Scope: Cluster
public static final boolean supportBulkRequest
Scope: Cluster
| Method Detail |
public void addRoute(java.lang.String pluginInstanceId,
java.lang.String addressExpression)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId - The id of the plug-in instance. Use listPluginInstanceIds operation to find all available instances.addressExpression - Regular expression to match with the address. The expression is formated as "[scheme:]regexp". For
example:
^[0-5].* - All adresses starting with 0, 1, 2, 3, 4 or 5 ^46.* - All adresses starting with "46" ^46.{8} -
All adresses starting with "46" and being exactly 10 characters long ^.*@.*\.se - All adresses starting
with anything followed by @ followed by anything and ending with ".se" tel:^46.* - All phone numbers
starting with "46" sip:.* - Any SIP adresses
com.bea.wlcp.wlng.api.management.ManagementException
public void createPluginInstance(java.lang.String pluginServiceId,
java.lang.String pluginInstanceId)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginServiceId - Plug-in service ID from listPluginServices().pluginInstanceId - A new unique instance ID.
com.bea.wlcp.wlng.api.management.ManagementException
public void destroyPluginInstance(java.lang.String pluginServiceId,
java.lang.String pluginInstanceId)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginServiceId - Plug-in service ID from listPluginServices().pluginInstanceId - The unique instance ID.
com.bea.wlcp.wlng.api.management.ManagementException
public boolean getForceConnectInResuming()
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
com.bea.wlcp.wlng.api.management.ManagementException
public PluginInstanceInfo getPluginInstanceInfo(java.lang.String pluginInstanceId)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId - ID of the plug-in instance
com.bea.wlcp.wlng.api.management.ManagementExceptionpublic java.lang.String getPluginNodeId(java.lang.String pluginInstanceId)
Scope: Cluster
pluginInstanceId - The plug-in instance ID.
public PluginServiceInfo getPluginServiceInfo(java.lang.String pluginServiceId)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginServiceId - ID of the plug-in.
com.bea.wlcp.wlng.api.management.ManagementExceptionpublic boolean getPolicyBasedRouting()
Scope: Cluster
public java.lang.String getRouteConfig(java.lang.String pluginInstanceId)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId - The ID of the plug-in instance.
com.bea.wlcp.wlng.api.management.ManagementException
public com.bea.wlcp.wlng.api.plugin.ServiceInfo getServiceInfo(java.lang.String type)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
type - The service type.
com.bea.wlcp.wlng.api.management.ManagementExceptionpublic boolean getSupportBulkRequest()
Scope: Cluster
public boolean getSupportGroupAddressRequest()
public java.util.Map listInterceptors(java.lang.String ip)
Scope: Domain
ip - name InterceptionPoint (MT_NORTH, MT_SOUTH, MO_NORTH or MO_SOUTH)public java.lang.String[] listPluginInstances()
Plug-in instance ID#JEE application name#version of JEE applicationScope: Cluster
public java.lang.String[] listPluginServices()
Scope: Cluster
public PluginRouteDesc[] listRoutes()
Scope: Cluster
public java.lang.String[] listServiceTypes()
Scope: Cluster
public void removeRoute(java.lang.String pluginInstanceId,
java.lang.String addressExpression)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId - Plug-in instance id.addressExpression - Address expression.
com.bea.wlcp.wlng.api.management.ManagementException
public java.lang.String retrieveInterceptorConfiguration()
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Domain
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
public void setForceConnectInResuming(boolean force)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
force - True indicates that every plug-in must be active
com.bea.wlcp.wlng.api.management.ManagementException
public void setPluginNodeId(java.lang.String pluginInstanceId,
java.lang.String nodeId)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId - Plug-in instance ID.nodeId - Node ID. This ID is used when enforcing node SLAs.
com.bea.wlcp.wlng.api.management.ManagementException
public void setPolicyBasedRouting(boolean policyBasedRoutingFlag)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
policyBasedRoutingFlag - Flag for enabling or disabling policy based routing.
com.bea.wlcp.wlng.api.management.ManagementException
public void setRouteConfig(java.lang.String pluginInstanceId,
java.lang.String fileContent)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId - The id of the plug-in instance. Use listPluginInstanceIds operation to find all available instances.fileContent - XML document that describes the routing for this plug-in instance. If this field is empty the
configuration will be removed.
com.bea.wlcp.wlng.api.management.ManagementException
public void setRouteConfigFromUrl(java.lang.String pluginInstanceId,
java.lang.String xmlConfigUrl)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
pluginInstanceId - The id of the plug-in instance. Use listPluginInstanceIds operation to find all available instances.xmlConfigUrl - URL to Xml document that describes the routing for this plug-in instance. If this field is empty the
configuration will be removed.
com.bea.wlcp.wlng.api.management.ManagementException
public void setSupportBulkRequest(boolean supportBulkRequest)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
supportBulkRequest - true if bulk requests enabled, false otherwise.
com.bea.wlcp.wlng.api.management.ManagementException
public void setSupportGroupAddressRequest(boolean supportGroupAddressRequest)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Cluster
supportGroupAddressRequest - Flag for enabling or disabling GroupAddress Request support.
com.bea.wlcp.wlng.api.management.ManagementException
public void updateInterceptorConfiguration(java.lang.String fileContent)
throws com.bea.wlcp.wlng.api.management.ManagementException
Scope: Domain
fileContent - The contents in an interceptorRule.xml file.
ManagementException.
com.bea.wlcp.wlng.api.management.ManagementException
|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.1 E65003-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||