@ConsumerType public interface ComponentMetadata extends NonNullMetadata
BeanMetadata, ServiceMetadata and
ServiceReferenceMetadata.| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVATION_EAGER
The component's manager must eagerly activate the component.
|
static int |
ACTIVATION_LAZY
The component's manager must lazily activate the component.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getActivation()
Return the activation strategy for the component.
|
List<String> |
getDependsOn()
Return the ids of any components listed in a
depends-on attribute
for the component. |
String |
getId()
Return the id of the component.
|
static final int ACTIVATION_EAGER
getActivation(),
Constant Field Valuesstatic final int ACTIVATION_LAZY
getActivation(),
Constant Field ValuesString getId()
null if
this is an anonymously defined and/or inlined component.int getActivation()
activation attribute of a component
definition. If this is not set, then the default-activation in
the blueprint element is used. If that is also not set, then the
activation strategy is ACTIVATION_EAGER.ACTIVATION_EAGER,
ACTIVATION_LAZYCopyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0