Java Dynamic Management Kit 3.2 Programming Guide | ||||
---|---|---|---|---|
![]() | ![]() | Chapter 10. Base Services - Customizing the Framework | ![]() | ![]() |
M-beans that require other services to be able to control their execution must implement the com.sun.jaw.reference.agent.services.ActivatableIf interface. Services that are able to control m-beans implementing the ActivatableIf interface are referred to as activation services. Activation services are able to perform two actions on an activatable m-bean:
Start the execution of an activatable m-bean using the performStart() method
Stop the execution of an activatable m-bean using the performStop() method
For example, the activation interface may be used by a persistent repository to restart m-beans after an agent has been stopped. The activation interface may be used in m-beans that are intended to be started or stopped as an element in a job scheduling service.
![]() | ![]() | ![]() |
Repository Service | ![]() | Metadata Service |