| 
OSGi™ Enterprise Release 5  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComponentMetadata
Metadata for managed components. This is the base type for
 BeanMetadata, ServiceMetadata and
 ServiceReferenceMetadata.
| Field Summary | |
|---|---|
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.  | 
| Method Summary | |
|---|---|
 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.  | 
| Field Detail | 
|---|
static final int ACTIVATION_EAGER
getActivation(), 
Constant Field Valuesstatic final int ACTIVATION_LAZY
getActivation(), 
Constant Field Values| Method Detail | 
|---|
java.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.
  | 
OSGi™ Enterprise Release 5  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||