|
Oracle Corporation | |||||||||||
| 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.
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 |
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 have 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 PluginInstanceFactorypluginId - The id of the instance.
DeploymentException
public final void deactivated()
throws ServiceDeploymentException
ServiceDeploymentExceptioncom.incomit.slee.ServiceDeployable#deactivated()
public void doActivated()
throws DeploymentException
PluginServiceLifecycle
doActivated in interface PluginServiceLifecycleDeploymentException - Exception during stop that will return
the plug-in to STARTED state.PluginServiceLifecycle.doActivated()
public void doDeactivated()
throws DeploymentException
PluginServiceLifecycle
doDeactivated in interface PluginServiceLifecycleDeploymentException - Exception during deactivate that will return
the plug-in to STARTED state.PluginServiceLifecycle.doDeactivated()
public void doStarted()
throws DeploymentException
PluginServiceLifecycle
doStarted 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
PluginServiceLifecycle
doStopped in interface PluginServiceLifecycleDeploymentException - Exception during stop that will return
the plug-in to NEW state.PluginServiceLifecycle.doStopped()public final String getId()
public String getNetworkProtocol()
PluginService
getNetworkProtocol in interface PluginServicepublic final PluginPool getPool()
public abstract ServiceType getServiceType()
PluginService
getServiceType in interface PluginServicePluginService.getServiceType()public void handleForceSuspending()
PluginServiceLifecycle
handleForceSuspending in interface PluginServiceLifecyclePluginServiceLifecycle.handleForceSuspending()
public void handleResuming()
throws DeploymentException
PluginServiceLifecycle
handleResuming in interface PluginServiceLifecycleDeploymentException - This causes the current plug-in and
others that are part of the same communication service to fail transition into
ACTIVE (RUNNING) state.PluginServiceLifecycle.handleResuming()
public void handleSuspending(CompletionBarrier barrier)
throws DeploymentException
PluginServiceLifecycle
handleSuspending 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)
PluginServiceLifecycle
init 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 Corporation | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||