public class ComponentConfigurationDTO
extends org.osgi.dto.DTO
| Modifier and Type | Field | Description |
|---|---|---|
static int |
ACTIVE |
The component configuration is active.
|
ComponentDescriptionDTO |
description |
The representation of the component configuration's component
description.
|
long |
id |
The id of the component configuration.
|
java.util.Map<java.lang.String,java.lang.Object> |
properties |
The component properties for the component configuration.
|
static int |
SATISFIED |
The component configuration is satisfied.
|
SatisfiedReferenceDTO[] |
satisfiedReferences |
The satisfied references.
|
int |
state |
The current state of the component configuration.
|
static int |
UNSATISFIED_CONFIGURATION |
The component configuration is unsatisfied due to a missing required
configuration.
|
static int |
UNSATISFIED_REFERENCE |
The component configuration is unsatisfied due to an unsatisfied
reference.
|
UnsatisfiedReferenceDTO[] |
unsatisfiedReferences |
The unsatisfied references.
|
| Constructor | Description |
|---|---|
ComponentConfigurationDTO() |
public static final int UNSATISFIED_CONFIGURATION
public static final int UNSATISFIED_REFERENCE
public static final int SATISFIED
Any services declared
by the component description are registered.
public static final int ACTIVE
This is the normal operational state of a component configuration.
public ComponentDescriptionDTO description
public int state
This is one of UNSATISFIED_CONFIGURATION,
UNSATISFIED_REFERENCE, SATISFIED or ACTIVE.
public long id
The id is a non-persistent, unique value assigned at runtime. The id is
also available as the component.id component property. The value
of this field is unspecified if the state of this component configuration
is unsatisfied.
public java.util.Map<java.lang.String,java.lang.Object> properties
ComponentContext.getProperties()public SatisfiedReferenceDTO[] satisfiedReferences
Each SatisfiedReferenceDTO in the array represents a satisfied
reference of the component configuration. The array must be empty if the
component configuration has no satisfied references.
public UnsatisfiedReferenceDTO[] unsatisfiedReferences
Each UnsatisfiedReferenceDTO in the array represents an
unsatisfied reference of the component configuration. The array must be
empty if the component configuration has no unsatisfied references.