public interface ComponentDeclaration
Modifier and Type | Field and Description |
---|---|
static java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
BundleContext |
getBundleContext()
Returns the bundle context associated with this component.
|
java.util.Map<java.lang.String,java.lang.Long> |
getCallbacksTime()
Returns the execution time in nanos for each component callbacks (init/start/stop/destroy)
|
java.lang.String |
getClassName()
Returns the class name of the Component implementation.
|
ComponentDependencyDeclaration[] |
getComponentDependencies()
Returns a list of dependencies associated with this component.
|
DependencyManager |
getDependencyManager()
Returns the dependency manager for this component
|
long |
getId()
Returns the instance id of this component.
|
java.lang.String |
getName()
Returns the description of this component (the classname or the provided service(s))
|
<K,V> java.util.Dictionary<K,V> |
getServiceProperties()
Returns the service properties, or null
|
java.lang.String[] |
getServices()
Returns the service optionally provided by this component, or null
|
int |
getState()
Returns the state of this component.
|
static final java.lang.String[] STATE_NAMES
static final int STATE_UNREGISTERED
static final int STATE_REGISTERED
ComponentDependencyDeclaration[] getComponentDependencies()
java.lang.String getName()
java.lang.String getClassName()
java.lang.String[] getServices()
<K,V> java.util.Dictionary<K,V> getServiceProperties()
int getState()
long getId()
BundleContext getBundleContext()
DependencyManager getDependencyManager()
java.util.Map<java.lang.String,java.lang.Long> getCallbacksTime()