org.apache.felix.dm
Interface ComponentDeclaration

All Known Implementing Classes:
ComponentImpl

public interface ComponentDeclaration

Describes a component. Component declarations form descriptions of components that are managed by the dependency manager. They can be used to query their state for monitoring tools. The dependency manager shell command is an example of such a tool.

Author:
Felix Project Team

Field Summary
static String[] STATE_NAMES
          Names for the states of this component.
static int STATE_REGISTERED
          State constant for a registered component.
static int STATE_UNREGISTERED
          State constant for an unregistered component.
 
Method Summary
 ComponentDependencyDeclaration[] getComponentDependencies()
          Returns a list of dependencies associated with this component.
 String getName()
          Returns the name of this component.
 int getState()
          Returns the state of this component.
 

Field Detail

STATE_NAMES

static final String[] STATE_NAMES
Names for the states of this component.


STATE_UNREGISTERED

static final int STATE_UNREGISTERED
State constant for an unregistered component.

See Also:
Constant Field Values

STATE_REGISTERED

static final int STATE_REGISTERED
State constant for a registered component.

See Also:
Constant Field Values
Method Detail

getComponentDependencies

ComponentDependencyDeclaration[] getComponentDependencies()
Returns a list of dependencies associated with this component.


getName

String getName()
Returns the name of this component.


getState

int getState()
Returns the state of this component.



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.