Class ReferenceDTO


  • public class ReferenceDTO
    extends org.osgi.dto.DTO
    A snapshot of the runtime state of a component reference dependency
    Author:
    $Id: 22d457721de1c59921b53ff03fe0f0289bf12d45 $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<org.osgi.framework.dto.ServiceReferenceDTO> matches
      The list of service references that match this reference.
      int minimumCardinality
      The runtime minimum cardinality of the dependency.
      java.lang.String targetFilter
      Indicates the runtime target filter used in addition to the template.serviceType to match services.
      ReferenceTemplateDTO template
      The template of this reference.
    • Constructor Summary

      Constructors 
      Constructor Description
      ReferenceDTO()  
    • 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

      • targetFilter

        public java.lang.String targetFilter
        Indicates the runtime target filter used in addition to the template.serviceType to match services.
      • matches

        public java.util.List<org.osgi.framework.dto.ServiceReferenceDTO> matches
        The list of service references that match this reference.

        Must not be null

        Can be empty when there are no matching services.

        This dependency is satisfied when minimumCardinality <= matches.size() <= MaximumCardinality.toInt() where the maximum cardinality can be obtained from the associated ReferenceTemplateDTO.

    • Constructor Detail

      • ReferenceDTO

        public ReferenceDTO()