Class ComponentTemplateDTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- org.osgi.service.cdi.runtime.dto.template.ComponentTemplateDTO
-
public class ComponentTemplateDTO extends org.osgi.dto.DTOA static description of a CDI component.At runtime it is spit between a
ComponentInstanceDTOwhich handles the resolution of the configurations, references and the creation ofComponentInstanceDTOinstances and one or moreComponentInstanceDTOinstances, which handle the resolution ofreferencesand the creation ofactivations.- Author:
- $Id: 8c9d0028cd273e8d2cd4fa796f7ab8e03927a9ea $
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<ActivationTemplateDTO>activationsThe activations associated with the component.java.util.List<java.lang.String>beansThe set of beans that make up the component.java.util.List<ConfigurationTemplateDTO>configurationsThe configuration dependencies of this component.java.lang.StringnameA name unique within the container.java.util.Map<java.lang.String,java.lang.Object>propertiesThe default component properties.java.util.List<ReferenceTemplateDTO>referencesThe service dependencies of the component.ComponentTypetypeThetypeof the component.
-
Constructor Summary
Constructors Constructor Description ComponentTemplateDTO()
-
-
-
Field Detail
-
name
public java.lang.String name
A name unique within the container.Must not be
null.
-
type
public ComponentType type
Thetypeof the component.Must not be
null.
-
configurations
public java.util.List<ConfigurationTemplateDTO> 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
public java.util.List<ReferenceTemplateDTO> references
The service dependencies of the component.The list will be empty if there are no service dependencies.
Must not be
null.
-
activations
public java.util.List<ActivationTemplateDTO> activations
The activations associated with the component.Must not be
null.
-
beans
public java.util.List<java.lang.String> beans
The set of beans that make up the component.Must not be
null.
-
properties
public java.util.Map<java.lang.String,java.lang.Object> 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.
-
-