|
Oracle Communications Services Gatekeeper OAM Java API Reference 5.0 E21718-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 |
forceConnectInResumingTrue indicates that the plug-in would 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. |
| 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() |
PluginInstanceInfo |
getPluginInstanceInfo(String pluginInstanceId)Gets information about a particular plug-in instance. |
String |
getPluginNodeId(String pluginInstanceId)Returns the node ID of the given plug-in |
PluginServiceInfo |
getPluginServiceInfo(String pluginServiceId)Gets info for a specific plug-in service. |
boolean |
getPolicyBasedRouting() |
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. |
String[] |
listPluginInstances()List all available plugin instances. |
String[] |
listPluginServices()List all available plugin services. |
PluginRouteDesc[] |
listRoutes()Lists all configured routes |
String[] |
listServiceTypes()Lists all the available service types |
void |
removeRoute(String pluginInstanceId, String addressExpression)Deprecated. Use setRouteConfig |
void |
setForceConnectInResuming(boolean force) |
void |
setPluginNodeId(String pluginInstanceId, String nodeId)Assigns a node ID to a plug-in. |
void |
setPolicyBasedRouting(boolean policyBasedRoutingFlag) |
void |
setRouteConfig(String pluginInstanceId, String xmlConfig)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. |
| Field Detail |
public static final boolean forceConnectInResuming
public static final boolean policyBasedRouting
| Method Detail |
public void addRoute(String pluginInstanceId,
String addressExpression)
throws ManagementException
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
pluginServiceId - Plug-in service id from listPluginServices().pluginInstanceId - A new unique instance id.ManagementException
public void destroyPluginInstance(String pluginServiceId,
String pluginInstanceId)
throws ManagementException
pluginServiceId - Plug-in service id from listPluginServices().pluginInstanceId - The unique instance id.ManagementException
public boolean getForceConnectInResuming()
throws ManagementException
ManagementException
public PluginInstanceInfo getPluginInstanceInfo(String pluginInstanceId)
throws ManagementException
pluginInstanceId - Id of the plug-in instanceManagementExceptionpublic String getPluginNodeId(String pluginInstanceId)
pluginInstanceId - The plug-in instance id
public PluginServiceInfo getPluginServiceInfo(String pluginServiceId)
throws ManagementException
pluginServiceId - Id of the plug-inManagementExceptionpublic boolean getPolicyBasedRouting()
public String getRouteConfig(String pluginInstanceId)
throws ManagementException
pluginInstanceId - The id of the plug-in instance.ManagementException
public ServiceInfo getServiceInfo(String type)
throws ManagementException
type - The service typeManagementExceptionpublic String[] listPluginInstances()
public String[] listPluginServices()
public PluginRouteDesc[] listRoutes()
public String[] listServiceTypes()
public void removeRoute(String pluginInstanceId,
String addressExpression)
throws ManagementException
pluginInstanceId - Plug-in instance id.addressExpression - Address expression.ManagementException
public void setForceConnectInResuming(boolean force)
throws ManagementException
force - true indicates that every plug-in must be activeManagementException
public void setPluginNodeId(String pluginInstanceId,
String nodeId)
throws ManagementException
pluginInstanceId - Plug-in instance Id.nodeId - Node ID.ManagementException
public void setPolicyBasedRouting(boolean policyBasedRoutingFlag)
throws ManagementException
policyBasedRoutingFlag - Flag for enabling or disabling policy based routing.ManagementException
public void setRouteConfig(String pluginInstanceId,
String xmlConfig)
throws ManagementException
pluginInstanceId - The id of the plug-in instance. Use listPluginInstanceIds operation to find all available instances.xmlConfig - 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
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
|
Oracle Communications Services Gatekeeper OAM Java API Reference 5.0 E21718-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||