org.apache.felix.scr.impl
Interface ComponentManager

All Superinterfaces:
Component
All Known Implementing Classes:
ComponentFactoryImpl, DelayedComponentManager, ServiceFactoryComponentManager

public interface ComponentManager
extends Component

This interface is provided so that there can be multiple implementations of managers that are responsible for managing component's lifecycle.


Field Summary
 
Fields inherited from interface org.apache.felix.scr.Component
STATE_ACTIVATING, STATE_ACTIVE, STATE_DEACTIVATING, STATE_DESTROYED, STATE_DISABLED, STATE_ENABLED, STATE_FACTORY, STATE_REGISTERED, STATE_UNSATISFIED
 
Method Summary
 void disable()
          Disable the component.
 void dispose()
          Dispose the component.
 void enable()
          Enable the component
 ComponentMetadata getComponentMetadata()
          Get the component information
 void reconfigure()
          Reconfigure the component with configuration data newly retrieved from the Configuration Admin Service.
 
Methods inherited from interface org.apache.felix.scr.Component
getBundle, getClassName, getFactory, getId, getName, getProperties, getReferences, getServices, getState, isDefaultEnabled, isImmediate, isServiceFactory
 

Method Detail

enable

void enable()
Enable the component

Specified by:
enable in interface Component

reconfigure

void reconfigure()
Reconfigure the component with configuration data newly retrieved from the Configuration Admin Service.


disable

void disable()
Disable the component. After disabling the component may be re-enabled by calling the enable() method.

Specified by:
disable in interface Component

dispose

void dispose()
Dispose the component. After disposing the component manager it must not be used anymore.


getComponentMetadata

ComponentMetadata getComponentMetadata()
Get the component information

Returns:
a ComponentMetadata object


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.