Top Description Fields Constructors Methods
org.osgi.service.cdi.runtime.dto.template

public Class ComponentTemplateDTO

extends DTO
Class Inheritance
Imports
java.util.List, .Map, org.osgi.dto.DTO, org.osgi.service.cdi.ComponentType, org.osgi.service.cdi.runtime.dto.ComponentInstanceDTO

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.

Author
$Id: 8c9d0028cd273e8d2cd4fa796f7ab8e03927a9ea $

Field Summary

Modifier and TypeField and Description
public List<ActivationTemplateDTO>
activations

The activations associated with the component.

public List<String>
beans

The set of beans that make up the component.

public List<ConfigurationTemplateDTO>
configurations

The configuration dependencies of this component.

public String
name

A name unique within the container.

public Map<String, Object>
properties

The default component properties.

public List<ReferenceTemplateDTO>
references

The service dependencies of the component.

public ComponentType
type

The type of the component.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.osgi.dto.DTO:
toString

Field Detail

activationsback to summary
public List<ActivationTemplateDTO> activations

The activations associated with the component.

Must not be null.

beansback to summary
public List<String> beans

The set of beans that make up the component.

Must not be null.

configurationsback to summary
public 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.

nameback to summary
public String name

A name unique within the container.

Must not be null.

propertiesback to summary
public Map<String, 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.

referencesback to summary
public List<ReferenceTemplateDTO> references

The service dependencies of the component.

The list will be empty if there are no service dependencies.

Must not be null.

typeback to summary
public ComponentType type

The type of the component.

Must not be null.

Constructor Detail

ComponentTemplateDTOback to summary
public ComponentTemplateDTO()