org.rhq.core.pc
Interface ContainerService

All Known Implementing Classes:
BundleManager, ConfigurationManager, ContentManager, DriftManager, EventManager, InventoryManager, MeasurementManager, OperationManager, PluginComponentFactory, PluginContainer, PluginManager, ResourceFactoryManager, SupportManager

public interface ContainerService

An interface that all plugin container services and managers will implement. It mainly is to support the lifecycle of the container services so the PluginContainer can start and stop them when it, itself, starts and stops.

Author:
Greg Hinkle, John Mazzitelli

Method Summary
 void initialize()
          Initializes the container service which will effectively tell the service to start doing its work.
 void setConfiguration(PluginContainerConfiguration configuration)
          Informs the container service how it should be configured by providing the full plugin container configuration.
 void shutdown()
          Stops the container service which effectively releases all runtime resources such as running threads.
 

Method Detail

initialize

void initialize()
Initializes the container service which will effectively tell the service to start doing its work. Implementations of this interface can be assured that prior to this method being called, a non-null configuration will be set via a call to setConfiguration(PluginContainerConfiguration).


shutdown

void shutdown()
Stops the container service which effectively releases all runtime resources such as running threads.


setConfiguration

void setConfiguration(PluginContainerConfiguration configuration)
Informs the container service how it should be configured by providing the full plugin container configuration. The plugin container will ensure it passes in a non-null configuration object so implementations of this interface should never have to worry about a null configuration parameter value.

Parameters:
configuration -


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.