Class ComponentConfigurationDTO
- Since:
- 1.3
- "NotThreadSafe"
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe component configuration is active.The representation of the component configuration's component description.static final intThe component configuration failed to activate.The failure information if the component configuration state isFAILED_ACTIVATION.longThe id of the component configuration.The component properties for the component configuration.static final intThe component configuration is satisfied.The satisfied references.The registered service of the component configuration.intThe current state of the component configuration.static final intThe component configuration is unsatisfied due to a missing required configuration.static final intThe component configuration is unsatisfied due to an unsatisfied reference.The unsatisfied references. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
UNSATISFIED_CONFIGURATION
public static final int UNSATISFIED_CONFIGURATIONThe component configuration is unsatisfied due to a missing required configuration.- See Also:
-
UNSATISFIED_REFERENCE
public static final int UNSATISFIED_REFERENCEThe component configuration is unsatisfied due to an unsatisfied reference.- See Also:
-
SATISFIED
public static final int SATISFIEDThe component configuration is satisfied.Any
servicesdeclared by the component description are registered.- See Also:
-
ACTIVE
public static final int ACTIVEThe component configuration is active.This is the normal operational state of a component configuration.
- See Also:
-
FAILED_ACTIVATION
public static final int FAILED_ACTIVATIONThe component configuration failed to activate.This means the component configuration is satisfied but that either:
- an exception occurred loading the implementation class,
- the static initializer threw an exception,
- the constructor threw an exception, or
- the activate method threw an exception.
failure.- Since:
- 1.4
- See Also:
-
description
The representation of the component configuration's component description. -
state
public int stateThe current state of the component configuration.This is one of
UNSATISFIED_CONFIGURATION,UNSATISFIED_REFERENCE,SATISFIED,ACTIVE, orFAILED_ACTIVATION. -
id
public long idThe id of the component configuration.The id is a non-persistent, unique value assigned at runtime. The id is also available as the
component.idcomponent property. The value of this field is unspecified if the state of this component configuration is unsatisfied. -
properties
The component properties for the component configuration.- See Also:
-
satisfiedReferences
The satisfied references.Each
SatisfiedReferenceDTOin the array represents a satisfied reference of the component configuration. The array must be empty if the component configuration has no satisfied references. -
unsatisfiedReferences
The unsatisfied references.Each
UnsatisfiedReferenceDTOin the array represents an unsatisfied reference of the component configuration. The array must be empty if the component configuration has no unsatisfied references. -
failure
The failure information if the component configuration state isFAILED_ACTIVATION.This is the failure exception converted to a String using:
StringWriter sw = new StringWriter(); exception.printStackTrace(new PrintWriter(sw)); sw.toString();
This must benullif the component configuration state is notFAILED_ACTIVATION.- Since:
- 1.4
-
service
The registered service of the component configuration.This must be non-
nullif the component configuration is registered as a service. Otherwise it must benull.- Since:
- 1.4
-
-
Constructor Details
-
ComponentConfigurationDTO
public ComponentConfigurationDTO()
-