public class ComponentDTO extends DTO
Modifier and Type | Field and 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 and Description |
---|
ComponentDTO() |
public ComponentTemplateDTO template
Must not be null
public java.util.List<ComponentInstanceDTO> instances
template
is of type ComponentType.CONTAINER
-
there will be 1
ComponentInstanceDTO
template
is of type ComponentType.SINGLE
-
there will be 1
ComponentInstanceDTO
template
is of type ComponentType.FACTORY
-
there will be one ComponentInstanceDTO
for every factory
configuration object associated with the factory PID of the
component.
Must not be null
public boolean enabled
true
.
A setting of false
on the container component results in
all components in the bundle being disabled.
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0