Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle Corporation
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.wlcp.wlng.api.plugin
Interface PluginInstanceLifecycle

All Known Subinterfaces:
  ManagedPluginInstance

public interface PluginInstanceLifecycle

Defines the lifecycle for a plug-in instance.

  Copyright © 2008 Oracle Corporation Systems, Inc. All Rights Reserved.

Method Summary
`void` | `activate()` Activates a plug-in instance.
`void` | `deactivate()` Deactivates a plug-in instance.

Method Detail

### activate

    public void activate()
                  throws DeploymentException

  Activates a plug-in instance. When the plug-in is activated it should register MBeans and prepare to accept traffic. The plug-in service that created this plug-in is guaranteed to be in ACTIVE (ADMIN) or ACTIVE (RUNNING) when this method is called.

  Throws:
    `DeploymentException`

### deactivate

    public void deactivate()
                    throws DeploymentException

  Deactivates a plug-in instance. When the plug-in is deactivated it should unregister it's MBeans and size to accept traffic. The plug-in service that created this plug-in is guaranteed to be in ACTIVE (ADMIN) or ACTIVE (RUNNING) when this method is called.

  Throws:
    `DeploymentException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle Corporation
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD