Package org.osgi.service.cdi.runtime.dto
Class ComponentDTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- org.osgi.service.cdi.runtime.dto.ComponentDTO
-
public class ComponentDTO extends org.osgi.dto.DTO
A snapshot of the runtime state of a component.- Author:
- $Id: 5d43cf12c7406c8650caf990cd60fe3eb7ff90c6 $
-
-
Field Summary
Fields Modifier and Type Field Description boolean
enabled
Indicates if the component is enabled.java.util.List<ComponentInstanceDTO>
instances
The component instances created by this component.ComponentTemplateDTO
template
The template of this component.
-
Constructor Summary
Constructors Constructor Description ComponentDTO()
-
-
-
Field Detail
-
template
public ComponentTemplateDTO template
The template of this component.Must not be
null
-
instances
public java.util.List<ComponentInstanceDTO> 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 enabled
Indicates 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.
-
-