org.apache.felix.dm
Interface ComponentDependencyDeclaration

All Known Subinterfaces:
BundleDependency, ConfigurationDependency, ResourceDependency, ServiceDependency, TemporalServiceDependency
All Known Implementing Classes:
BundleDependencyImpl, ConfigurationDependencyImpl, ResourceDependencyImpl, ServiceDependencyImpl, TemporalServiceDependencyImpl

public interface ComponentDependencyDeclaration

Describes a component dependency. They form descriptions of dependencies 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 int STATE_AVAILABLE_OPTIONAL
          State constant for an available, optional dependency.
static int STATE_AVAILABLE_REQUIRED
          State constant for an available, required dependency.
static String[] STATE_NAMES
          Names for the states of this dependency.
static int STATE_UNAVAILABLE_OPTIONAL
          State constant for an unavailable, optional dependency.
static int STATE_UNAVAILABLE_REQUIRED
          State constant for an unavailable, required dependency.
 
Method Summary
 String getName()
          Returns the name of this dependency.
 int getState()
          Returns the state of this dependency.
 String getType()
          Returns the name of the type of this dependency.
 

Field Detail

STATE_NAMES

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


STATE_UNAVAILABLE_OPTIONAL

static final int STATE_UNAVAILABLE_OPTIONAL
State constant for an unavailable, optional dependency.

See Also:
Constant Field Values

STATE_AVAILABLE_OPTIONAL

static final int STATE_AVAILABLE_OPTIONAL
State constant for an available, optional dependency.

See Also:
Constant Field Values

STATE_UNAVAILABLE_REQUIRED

static final int STATE_UNAVAILABLE_REQUIRED
State constant for an unavailable, required dependency.

See Also:
Constant Field Values

STATE_AVAILABLE_REQUIRED

static final int STATE_AVAILABLE_REQUIRED
State constant for an available, required dependency.

See Also:
Constant Field Values
Method Detail

getName

String getName()
Returns the name of this dependency.


getType

String getType()
Returns the name of the type of this dependency.


getState

int getState()
Returns the state of this dependency.



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