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
Modifier and TypeFieldDescriptionboolean
Indicates if the component is enabled.The component instances created by this component.The template of this component. -
Constructor Summary
-
Method Summary
-
Field Details
-
template
The template of this component.Must not be
null
-
instances
The component instances created by this component.- When
template
is of typeComponentType.CONTAINER
- there will be1
ComponentInstanceDTO
- When
template
is of typeComponentType.SINGLE
- there will be1
ComponentInstanceDTO
- When
template
is of typeComponentType.FACTORY
- there will be oneComponentInstanceDTO
for 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
false
on the container component results in all components in the bundle being disabled.
-
-
Constructor Details
-
ComponentDTO
public ComponentDTO()
-