public class ComponentTemplateDTO extends DTO
At runtime it is spit between a ComponentInstanceDTO
which handles
the resolution of the configurations, references and the creation of
ComponentInstanceDTO
instances and one or more
ComponentInstanceDTO
instances, which handle the resolution of
references
and the creation of activations
.
Modifier and Type | Field and Description |
---|---|
java.util.List<ActivationTemplateDTO> |
activations
The activations associated with the component.
|
java.util.List<java.lang.String> |
beans
The set of beans that make up the component.
|
java.util.List<ConfigurationTemplateDTO> |
configurations
The configuration dependencies of this component.
|
java.lang.String |
name
A name unique within the container.
|
java.util.Map<java.lang.String,java.lang.Object> |
properties
The default component properties.
|
java.util.List<ReferenceTemplateDTO> |
references
The service dependencies of the component.
|
ComponentType |
type
The
type of the component. |
Constructor and Description |
---|
ComponentTemplateDTO() |
public java.lang.String name
Must not be null
.
public ComponentType type
type
of the component.
Must not be null
.
public java.util.List<ConfigurationTemplateDTO> configurations
There is always at least one default singleton configuration.
May contain at most one factory configuration.
Must not be null
.
public java.util.List<ReferenceTemplateDTO> references
The list will be empty if there are no service dependencies.
Must not be null
.
public java.util.List<ActivationTemplateDTO> activations
Must not be null
.
public java.util.List<java.lang.String> beans
Must not be null
.
public java.util.Map<java.lang.String,java.lang.Object> properties
These are merged (and possibly replaced) with runtime properties.
Must not be null
. May be empty if no default properties are
provided.
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0