public class ComponentConfigurationDTO extends DTO
Modifier and Type | Field and 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.
|
Map<String,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 and 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 Map<String,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.
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0