Metadata, NonNullMetadataBeanMetadata, ReferenceListMetadata, ReferenceMetadata, ServiceMetadata, ServiceReferenceMetadata@ConsumerType public interface ComponentMetadata extends NonNullMetadata
BeanMetadata, ServiceMetadata and
ServiceReferenceMetadata.| Modifier and Type | Field | 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 | Description |
|---|---|---|
int |
getActivation() |
Return the activation strategy for the component.
|
java.util.List<java.lang.String> |
getDependsOn() |
Return the ids of any components listed in a
depends-on attribute
for the component. |
java.lang.String |
getId() |
Return the id of the component.
|
static final int ACTIVATION_EAGER
getActivation(),
Constant Field Valuesstatic final int ACTIVATION_LAZY
getActivation(),
Constant Field Valuesjava.lang.String 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_LAZYjava.util.List<java.lang.String> getDependsOn()
depends-on attribute
for the component.