Class ReferenceTemplateDTO


  • public class ReferenceTemplateDTO
    extends org.osgi.dto.DTO
    A description of a reference dependency of a component

    The content of this DTO is resolved form metadata at initialization time and remains the same between the CDI bundle restarts.

    Author:
    $Id: 4911250a9d7df0ddeaf1fdf17b4796642ecc7b83 $
    • 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 unique within the container and persistent across reboots identified for this activation

        The value must not be null. The value must be equal to the reference name.

      • serviceType

        public java.lang.String serviceType
        Indicates the type of service matched by the reference.

        The value must not be null.

      • targetFilter

        public java.lang.String targetFilter
        Indicates a target filter used in addition to the serviceType to match services.

        Contains the target filter resolved from the CDI bundle metadata. The filter can be replaced by configuration at runtime.

      • minimumCardinality

        public int minimumCardinality
        The minimum cardinality of the reference.

        Contains the minimum cardinality statically resolved from the CDI bundle metadata. The minimum cardinality can be replaced by configuration at runtime.

      • maximumCardinality

        public MaximumCardinality maximumCardinality
        The maximum cardinality of the reference.
      • policy

        public ReferencePolicy policy
        Indicates if the reference is dynamic or static in nature.
      • policyOption

        public ReferencePolicyOption policyOption
        Indicates if the reference is greedy or reluctant in nature.
    • Constructor Detail

      • ReferenceTemplateDTO

        public ReferenceTemplateDTO()