Package org.osgi.service.cdi.runtime.dto
Class ComponentDTO
java.lang.Object
org.osgi.dto.DTO
org.osgi.service.cdi.runtime.dto.ComponentDTO
A snapshot of the runtime state of a component.
- "NotThreadSafe"
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanIndicates if the component is enabled.The component instances created by this component.The template of this component. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
template
The template of this component.Must not be
null -
instances
The component instances created by this component.- When
templateis of typeComponentType.CONTAINER- there will be1ComponentInstanceDTO - When
templateis of typeComponentType.SINGLE- there will be1ComponentInstanceDTO - When
templateis of typeComponentType.FACTORY- there will be oneComponentInstanceDTOfor every factory configuration object associated with the factory PID of the component.
Must not be
null - When
-
enabled
public boolean enabledIndicates if the component is enabled. The default istrue.A setting of
falseon the container component results in all components in the bundle being disabled.
-
-
Constructor Details
-
ComponentDTO
public ComponentDTO()
-