Class ComponentTemplateDTO
java.lang.Object
org.osgi.dto.DTO
org.osgi.service.cdi.runtime.dto.template.ComponentTemplateDTO
A static description of a CDI component.
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
.
- "NotThreadSafe"
-
Field Summary
Modifier and TypeFieldDescriptionThe activations associated with the component.The set of beans that make up the component.The configuration dependencies of this component.A name unique within the container.The default component properties.The service dependencies of the component.Thetype
of the component. -
Constructor Summary
-
Method Summary
-
Field Details
-
name
A name unique within the container.Must not be
null
. -
type
Thetype
of the component.Must not be
null
. -
configurations
The configuration dependencies of this component.There is always at least one default singleton configuration.
May contain at most one factory configuration.
Must not be
null
. -
references
The service dependencies of the component.The list will be empty if there are no service dependencies.
Must not be
null
. -
activations
The activations associated with the component.Must not be
null
. -
beans
The set of beans that make up the component.Must not be
null
. -
properties
The default component properties.These are merged (and possibly replaced) with runtime properties.
Must not be
null
. May be empty if no default properties are provided.
-
-
Constructor Details
-
ComponentTemplateDTO
public ComponentTemplateDTO()
-