|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wlcp.wlng.api.plugin.ManagedPlugin
com.bea.wlcp.wlng.api.plugin.common.AbstractManagedPlugin
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 com.incomit.slee.ServiceContext |
svcCtx
Deprecated. |
protected weblogic.workarea.WorkContextMap |
wcm
Deprecated. |
Fields inherited from interface com.bea.wlcp.wlng.api.plugin.PluginInstance |
MATCH_OPTIONAL, MATCH_REMOVE, MATCH_REQUIRED |
Constructor Summary | |
AbstractManagedPlugin(java.lang.String[] supportedSchemes)
Deprecated. |
Method Summary | |
void |
activated()
Deprecated. |
ManagedPluginInstance |
createInstance(java.lang.String pluginId)
Deprecated. |
void |
deactivated()
Deprecated. |
void |
doActivated()
Deprecated. |
void |
doDeactivated()
Deprecated. |
void |
doStarted()
Deprecated. |
void |
doStopped()
Deprecated. |
java.lang.String |
getId()
Deprecated. |
java.lang.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(java.lang.String id,
PluginPool pool)
Deprecated. |
void |
setServiceContext(com.incomit.slee.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 com.incomit.slee.ServiceContext svcCtx
protected weblogic.workarea.WorkContextMap wcm
Constructor Detail |
public AbstractManagedPlugin(java.lang.String[] supportedSchemes)
Method Detail |
public final void activated() throws com.incomit.slee.ServiceDeploymentException
activated
in interface com.incomit.slee.ServiceDeployable
com.incomit.slee.ServiceDeploymentException
public ManagedPluginInstance createInstance(java.lang.String pluginId) throws DeploymentException
PluginInstanceFactory
createInstance
in interface PluginInstanceFactory
pluginId
- The id of the instance.
DeploymentException
public final void deactivated() throws com.incomit.slee.ServiceDeploymentException
deactivated
in interface com.incomit.slee.ServiceDeployable
com.incomit.slee.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 java.lang.String getId()
public java.lang.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(java.lang.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(com.incomit.slee.ServiceContext serviceContext)
setServiceContext
in interface com.incomit.slee.ServiceDeployable
public final void started() throws com.incomit.slee.ServiceDeploymentException
started
in interface com.incomit.slee.ServiceDeployable
com.incomit.slee.ServiceDeploymentException
public final void stopped() throws com.incomit.slee.ServiceDeploymentException
stopped
in interface com.incomit.slee.ServiceDeployable
com.incomit.slee.ServiceDeploymentException
|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |