Class ComponentTemplateDTO


  • public class ComponentTemplateDTO
    extends org.osgi.dto.DTO
    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 $
    • Method Summary

      • Methods inherited from class org.osgi.dto.DTO

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        public java.lang.String name
        A name unique within the container.

        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.

    • Constructor Detail

      • ComponentTemplateDTO

        public ComponentTemplateDTO()