|
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 | ||||||||||
Plug-in manager MBean
| Field Summary | |
static boolean |
forceConnectInResumingTrue indicates that the plug-in will not start if it fails to establish communication toward the network in a protocol specific way. |
static boolean |
policyBasedRoutingDefines if policy-based routing is enabled. |
static boolean |
supportBulkRequestSet to true to enable bulk request support. |
| Method Summary | |
void |
addRoute(String pluginInstanceId, String addressExpression)Deprecated. Use setRouteConfig |
void |
createPluginInstance(String pluginServiceId, String pluginInstanceId)Creates a new instance of a specific plug-in. |
void |
destroyPluginInstance(String pluginServiceId, String pluginInstanceId)Destroys an existing plug-in instance. |
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. |
PluginInstanceInfo |
getPluginInstanceInfo(String pluginInstanceId)Gets information about a particular plug-in instance. |
String |
getPluginNodeId(String pluginInstanceId)Returns which plug-in node ID a plug-in instance is associated with, if any. |
PluginServiceInfo |
getPluginServiceInfo(String pluginServiceId)Gets info for a specific plug-in service. |
boolean |
getPolicyBasedRouting()Returns true if policy-based routing is enabled. |
String |
getRouteConfig(String pluginInstanceId)Gets the route configuration for a specific plug-in instance. |
ServiceInfo |
getServiceInfo(String type)Returns the service information for a given service type. |
boolean |
getSupportBulkRequest()Returns true bulk requests are supported. |
boolean |
getSupportGroupAddressRequest() |
Map |
listInterceptors(String ip)Returns a list of all enabled interceptors in Services Gatekeeper. |
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 #. |
String[] |
listPluginServices()Lists plug-in service IDs. |
PluginRouteDesc[] |
listRoutes()Lists all configured routes. |
String[] |
listServiceTypes()Lists all the available service types. |
void |
removeRoute(String pluginInstanceId, String addressExpression)Deprecated. Use setRouteConfig |
String |
retrieveInterceptorConfiguration()Returns the active interceptor rule configuration in Services Gatekeeper. |
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. |
void |
setPluginNodeId(String pluginInstanceId, String nodeId)Assigns a node ID to a plug-in. |
void |
setPolicyBasedRouting(boolean policyBasedRoutingFlag)If true, policy based routing is used, if false, policy-based routing is disabled. |
void |
setRouteConfig(String pluginInstanceId, String fileContent)Sets the route configuration for a specific plug-in instance. |
void |
setRouteConfigFromUrl(String pluginInstanceId, String xmlConfigUrl)Sets the route configuration for a specific plug-in instance. |
void |
setSupportBulkRequest(boolean supportBulkRequest)If set to true, SMS requests with multiple recipients are split into multiple individually-addressed SMS requests. |
void |
setSupportGroupAddressRequest(boolean supportGroupAddressRequest)Scope: Cluster |
void |
updateInterceptorConfiguration(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(String pluginInstanceId,
String addressExpression)
throws 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 adressesManagementException
public void createPluginInstance(String pluginServiceId,
String pluginInstanceId)
throws ManagementException
Scope: Cluster
pluginServiceId - Plug-in service ID from listPluginServices().pluginInstanceId - A new unique instance ID.ManagementException
public void destroyPluginInstance(String pluginServiceId,
String pluginInstanceId)
throws ManagementException
Scope: Cluster
pluginServiceId - Plug-in service ID from listPluginServices().pluginInstanceId - The unique instance ID.ManagementException
public boolean getForceConnectInResuming()
throws ManagementException
Scope: Cluster
ManagementException
public PluginInstanceInfo getPluginInstanceInfo(String pluginInstanceId)
throws ManagementException
Scope: Cluster
pluginInstanceId - ID of the plug-in instanceManagementExceptionpublic String getPluginNodeId(String pluginInstanceId)
Scope: Cluster
pluginInstanceId - The plug-in instance ID.
public PluginServiceInfo getPluginServiceInfo(String pluginServiceId)
throws ManagementException
pluginServiceId - ID of the plug-in.ManagementExceptionpublic boolean getPolicyBasedRouting()
Scope: Cluster
public String getRouteConfig(String pluginInstanceId)
throws ManagementException
Scope: Cluster
pluginInstanceId - The ID of the plug-in instance.ManagementException
public ServiceInfo getServiceInfo(String type)
throws ManagementException
Scope: Cluster
type - The service type.ManagementExceptionpublic boolean getSupportBulkRequest()
Scope: Cluster
public boolean getSupportGroupAddressRequest()
public Map listInterceptors(String ip)
Scope: Domain
ip - name InterceptionPoint (MT_NORTH, MT_SOUTH, MO_NORTH or MO_SOUTH)public String[] listPluginInstances()
Plug-in instance ID#JEE application name#version of JEE applicationScope: Cluster
public String[] listPluginServices()
Scope: Cluster
public PluginRouteDesc[] listRoutes()
Scope: Cluster
public String[] listServiceTypes()
Scope: Cluster
public void removeRoute(String pluginInstanceId,
String addressExpression)
throws ManagementException
Scope: Cluster
pluginInstanceId - Plug-in instance id.addressExpression - Address expression.ManagementException
public String retrieveInterceptorConfiguration()
throws ManagementException
Scope: Domain
ManagementException.ManagementException
public void setForceConnectInResuming(boolean force)
throws ManagementException
Scope: Cluster
force - True indicates that every plug-in must be activeManagementException
public void setPluginNodeId(String pluginInstanceId,
String nodeId)
throws ManagementException
Scope: Cluster
pluginInstanceId - Plug-in instance ID.nodeId - Node ID. This ID is used when enforcing node SLAs.ManagementException
public void setPolicyBasedRouting(boolean policyBasedRoutingFlag)
throws ManagementException
Scope: Cluster
policyBasedRoutingFlag - Flag for enabling or disabling policy based routing.ManagementException
public void setRouteConfig(String pluginInstanceId,
String fileContent)
throws 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.ManagementException
public void setRouteConfigFromUrl(String pluginInstanceId,
String xmlConfigUrl)
throws 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.ManagementException
public void setSupportBulkRequest(boolean supportBulkRequest)
throws ManagementException
Scope: Cluster
supportBulkRequest - true if bulk requests enabled, false otherwise.ManagementException
public void setSupportGroupAddressRequest(boolean supportGroupAddressRequest)
throws ManagementException
Scope: Cluster
supportGroupAddressRequest - Flag for enabling or disabling GroupAddress Request support.ManagementException
public void updateInterceptorConfiguration(String fileContent)
throws ManagementException
Scope: Domain
fileContent - The contents in an interceptorRule.xml file.ManagementException.ManagementException
|
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 | ||||||||||