Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


com.bea.wlcp.wlng.api.plugin
Class ManagedPlugin

java.lang.Object
  extended bycom.bea.wlcp.wlng.api.plugin.ManagedPlugin

All Implemented Interfaces:
PluginInstance
Direct Known Subclasses:
AbstractManagedPlugin

Deprecated. Use instead ManagedPluginService. Managed plug-in class. Implemented by the plug-in to be able to register in the plug-in manager.

public abstract class ManagedPlugin
extends Object
implements PluginInstance

Field Summary

 

Fields inherited from interface com.bea.wlcp.wlng.api.plugin.PluginInstance
MATCH_OPTIONAL, MATCH_REMOVE, MATCH_REQUIRED

 

Constructor Summary
ManagedPlugin(String[] supportedSchemes)
          Deprecated. Constructor

 

Method Summary
 int customMatch(RequestInfo requestInfo)
          Deprecated. Checks if this plugin can be used given the provided request info.
 boolean customMatchCriteria(RequestInfo requestInfo)
          Deprecated. Checks if this plug-in can be used given the provided request info.
 List getNorthInterfaces()
          Deprecated. Returns the registered application facing interfaces.
 List getSouthInterfaces()
          Deprecated. Returns the registered network facing interfaces.
 String[] getSupportedSchemes()
          Deprecated. Gets the supported address schemes.
 boolean isActive()
          Deprecated. Checks if the plug-in is active.
 boolean isConnected()
          Deprecated. Checks if the plug-in is connected to the underlying network.
 boolean isSchemeSupported(String scheme)
          Deprecated. Check if the scheme is supported.
 void registerNorthInterface(Class type, PluginNorth instance)
          Deprecated. Registers an application facing interface.
 void registerNorthInterface(Class type, PluginNorthCallback instance)
          Deprecated. Registers a application facing callback interface.
 void registerNorthInterfaceCallback(Class type, PluginNorth instance)
          Deprecated. Registers a Callback application facing interface.
 void registerSouthInterface(Class type, PluginSouth instance)
          Deprecated. Registers a network facing interface.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ManagedPlugin

public ManagedPlugin(String[] supportedSchemes)
Deprecated. 
Constructor

Method Detail

customMatch

public int customMatch(RequestInfo requestInfo)
Deprecated. 
Checks if this plugin can be used given the provided request info. The return value indicates if the plug-in should be removed, considered as optional or required. Override this method to implement plug-in specific matching. By default, this method calls customMatchCriteria() and returns MATCH_OPTIONAL.
Specified by:
customMatch in interface PluginInstance
Parameters:
requestInfo - The request info.
Returns:
Value indicating if the plugin should be removed, considered optional or required. Use the MATCH_xxx constants only.

customMatchCriteria

public boolean customMatchCriteria(RequestInfo requestInfo)
Deprecated. 
Checks if this plug-in can be used given the provided request info. Override this method to implement plug-in specific matching.
Parameters:
requestInfo - The request info. The implementation may be traffic path specific.
Returns:
True if the plug-in can be used.

getNorthInterfaces

public final List getNorthInterfaces()
Deprecated. 
Returns the registered application facing interfaces.
Specified by:
getNorthInterfaces in interface PluginInstance
Returns:
The application facing interfaces.

getSouthInterfaces

public final List getSouthInterfaces()
Deprecated. 
Returns the registered network facing interfaces.
Specified by:
getSouthInterfaces in interface PluginInstance
Returns:
The network facing interfaces.

getSupportedSchemes

public final String[] getSupportedSchemes()
Deprecated. 
Gets the supported address schemes. For example, "tel" or "sip".
Returns:
Supported schemes.

isActive

public boolean isActive()
Deprecated. 
Checks if the plug-in is active. Override this method to implement plug-in specific activation.
Returns:
True if the plug-in is active.

isConnected

public boolean isConnected()
Deprecated. 
Description copied from interface: PluginInstance
Checks if the plug-in is connected to the underlying network. That is, whether it is ready to receive traffic.
Specified by:
isConnected in interface PluginInstance
Returns:
True if the plug-in is connected.
See Also:
PluginInstance.isConnected()

isSchemeSupported

public final boolean isSchemeSupported(String scheme)
Deprecated. 
Check if the scheme is supported.
Returns:
Supported schemes.

registerNorthInterface

public final void registerNorthInterface(Class type,
                                         PluginNorth instance)
Deprecated. 
Registers an application facing interface.
Parameters:
type - Type of the application facing interface.
instance - Instance implementing the interface.

registerNorthInterface

public final void registerNorthInterface(Class type,
                                         PluginNorthCallback instance)
Deprecated. 
Registers a application facing callback interface.
Parameters:
type - Type of the application facing callback interface.
instance - Instance implementing the interface.

registerNorthInterfaceCallback

public final void registerNorthInterfaceCallback(Class type,
                                                 PluginNorth instance)
Deprecated. 
Registers a Callback application facing interface.
Parameters:
type - Type of the Callback application facing interface.
instance - Instance implementing the interface.

registerSouthInterface

public final void registerSouthInterface(Class type,
                                         PluginSouth instance)
Deprecated. 
Registers a network facing interface.
Parameters:
type - Type of the network facing interface.
instance - Instance implementing the interface.

Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.