org.apache.felix.dependencymanager
Interface ServiceComponent

All Known Implementing Classes:
ServiceImpl

public interface ServiceComponent

Describes a service component. Service components form descriptions of services 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
 ServiceComponentDependency[] getComponentDependencies()
          Returns a list of dependencies associated with this service component.
 String getName()
          Returns the name of this service component.
 int getState()
          Returns the state of this service 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

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


getName

String getName()
Returns the name of this service component.


getState

int getState()
Returns the state of this service component.



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