|
Oracle Communications Services Gatekeeper Java API Reference 6.0 E55513-02 |
||||||||||
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 application facing or network facing interfaces.
Field Summary | |
protected boolean |
active Deprecated. |
protected ServiceContext |
svcCtx Deprecated. |
protected WorkContextMap |
wcm Deprecated. |
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
PluginInstanceFactory
createInstance
in interface PluginInstanceFactory
pluginId
- The id of the instance.DeploymentException
public final void deactivated() throws ServiceDeploymentException
ServiceDeploymentException
public void doActivated() throws DeploymentException
PluginServiceLifecycle
doActivated
in interface PluginServiceLifecycle
DeploymentException
- Exception during stop that will return the plug-in to STARTED state.PluginServiceLifecycle.doActivated().
public void doDeactivated() throws DeploymentException
PluginServiceLifecycle
doDeactivated
in interface PluginServiceLifecycle
DeploymentException
- Exception during deactivate that will return the plug-in to STARTED state.PluginServiceLifecycle.doDeactivated().
public void doStarted() throws DeploymentException
PluginServiceLifecycle
doStarted
in interface PluginServiceLifecycle
DeploymentException
- Exception during start that will cause the plug-in to be returned to NEW state.PluginServiceLifecycle.doStarted().
public void doStopped() throws DeploymentException
PluginServiceLifecycle
doStopped
in interface PluginServiceLifecycle
DeploymentException
- Exception during stop that will return the plug-in to the NEW state.PluginServiceLifecycle.doStopped().
public final String getId()
public String getNetworkProtocol()
PluginService
getNetworkProtocol
in interface PluginService
public final PluginPool getPool()
public abstract ServiceType getServiceType()
PluginService
getServiceType
in interface PluginService
PluginService.getServiceType().
public void handleForceSuspending()
PluginServiceLifecycle
handleForceSuspending
in interface PluginServiceLifecycle
PluginServiceLifecycle.handleForceSuspending().
public void handleResuming() throws DeploymentException
PluginServiceLifecycle
handleResuming
in interface PluginServiceLifecycle
DeploymentException
- 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
PluginServiceLifecycle
handleSuspending
in interface PluginServiceLifecycle
barrier
- 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)
PluginServiceLifecycle
init
in interface PluginServiceLifecycle
id
- The id for this plug-in service.pool
- 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 6.0 E55513-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |