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_LAZY
Copyright © 2018 JBoss by Red Hat. All rights reserved.