|
Oracle Communications Services Gatekeeper Java API Reference 5.1 E37525-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
com.bea.wlcp.wlng.api.plugin.ManagedPlugin
com.bea.wlcp.wlng.api.plugin.common.AbstractManagedPlugin
Deprecated. Use ManagedPluginService instead. AbstractManagedPlugin is a helper class for implementing a PluginService. A plug-in that implements this interface will have one plug-in instance created if it registers any north or south interfaces.
| Field Summary | |
protected boolean |
activeDeprecated. |
protected ServiceContext |
svcCtxDeprecated. |
protected WorkContextMap |
wcmDeprecated. |
| Fields inherited from interface com.bea.wlcp.wlng.api.plugin.PluginInstance |
MATCH_OPTIONAL, MATCH_REMOVE, MATCH_REQUIRED |
| Constructor Summary | |
AbstractManagedPlugin(String[] supportedSchemes)Deprecated. |
|
| Method Summary | |
void |
activated()Deprecated. |
ManagedPluginInstance |
createInstance(String pluginId)Deprecated. |
void |
deactivated()Deprecated. |
void |
doActivated()Deprecated. |
void |
doDeactivated()Deprecated. |
void |
doStarted()Deprecated. |
void |
doStopped()Deprecated. |
String |
getId()Deprecated. |
String |
getNetworkProtocol()Deprecated. Gives a descriptive name for the supported network protocol. |
PluginPool |
getPool()Deprecated. |
abstract ServiceType |
getServiceType()Deprecated. |
void |
handleForceSuspending()Deprecated. Called when a FORCE STOP/SHUTDOWN has been issued. |
void |
handleResuming()Deprecated. |
void |
handleSuspending(CompletionBarrier barrier)Deprecated. |
void |
init(String id, PluginPool pool)Deprecated. |
void |
setServiceContext(ServiceContext serviceContext)Deprecated. |
void |
started()Deprecated. |
void |
stopped()Deprecated. |
| Methods inherited from class com.bea.wlcp.wlng.api.plugin.ManagedPlugin |
customMatch, customMatchCriteria, getNorthInterfaces, getSouthInterfaces, getSupportedSchemes, isActive, isConnected, isSchemeSupported, registerNorthInterface, registerNorthInterface, registerNorthInterfaceCallback, registerSouthInterface |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.bea.wlcp.wlng.api.plugin.PluginService |
getSupportedSchemes |
| Field Detail |
protected boolean active
protected ServiceContext svcCtx
protected WorkContextMap wcm
| Constructor Detail |
public AbstractManagedPlugin(String[] supportedSchemes)
| Method Detail |
public final void activated()
throws ServiceDeploymentException
ServiceDeploymentException
public ManagedPluginInstance createInstance(String pluginId)
throws DeploymentException
PluginInstanceFactorycreateInstance in interface PluginInstanceFactorypluginId - The id of the instance.DeploymentException
public final void deactivated()
throws ServiceDeploymentException
ServiceDeploymentException
public void doActivated()
throws DeploymentException
PluginServiceLifecycledoActivated in interface PluginServiceLifecycleDeploymentException - Exception during stop that will return the plug-in to STARTED statePluginServiceLifecycle.doActivated()
public void doDeactivated()
throws DeploymentException
PluginServiceLifecycledoDeactivated in interface PluginServiceLifecycleDeploymentException - Exception during deactivate that will return the plug-in to STARTED statePluginServiceLifecycle.doDeactivated()
public void doStarted()
throws DeploymentException
PluginServiceLifecycledoStarted in interface PluginServiceLifecycleDeploymentException - Exception during start that will cause the plug-in to be returned to NEW state.PluginServiceLifecycle.doStarted()
public void doStopped()
throws DeploymentException
PluginServiceLifecycledoStopped in interface PluginServiceLifecycleDeploymentException - Exception during stop that will return the plug-in to the NEW statePluginServiceLifecycle.doStopped()public final String getId()
public String getNetworkProtocol()
PluginServicegetNetworkProtocol in interface PluginServicepublic final PluginPool getPool()
public abstract ServiceType getServiceType()
PluginServicegetServiceType in interface PluginServicePluginService.getServiceType()public void handleForceSuspending()
PluginServiceLifecyclehandleForceSuspending in interface PluginServiceLifecyclePluginServiceLifecycle.handleForceSuspending()
public void handleResuming()
throws DeploymentException
PluginServiceLifecyclehandleResuming in interface PluginServiceLifecycleDeploymentException - This causes the current plug-in and others that are part of the same communication service to fail the transition into ACTIVE (RUNNING) state.PluginServiceLifecycle.handleResuming()
public void handleSuspending(CompletionBarrier barrier)
throws DeploymentException
PluginServiceLifecyclehandleSuspending in interface PluginServiceLifecyclebarrier - Used to register for a callback object that later should be called asynchronously to indicate that the plug-in has completed all in-flight traffic and is ready to be undeployed.DeploymentException - In case of internal errors.PluginServiceLifecycle.handleSuspending(com.bea.wlcp.wlng.api.plugin.CompletionBarrier)
public final void init(String id,
PluginPool pool)
PluginServiceLifecycleinit in interface PluginServiceLifecycleid - The id for this plug-in servicepool - The pool associated with this plug-in. It can be used to retrieve registered plug-in instances.public final void setServiceContext(ServiceContext serviceContext)
public final void started()
throws ServiceDeploymentException
ServiceDeploymentException
public final void stopped()
throws ServiceDeploymentException
ServiceDeploymentException
|
Oracle Communications Services Gatekeeper Java API Reference 5.1 E37525-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||