Class ReferenceDTO

java.lang.Object
org.osgi.dto.DTO
org.osgi.service.component.runtime.dto.ReferenceDTO

public class ReferenceDTO extends DTO
A representation of a declared reference to a service.
Since:
1.3
"NotThreadSafe"
  • Field Details

    • name

      public String name
      The name of the reference.

      This is declared in the name attribute of the reference element. This must be the default name if the component description does not declare a name for the reference.

    • interfaceName

      public String interfaceName
      The service interface of the reference.

      This is declared in the interface attribute of the reference element.

    • cardinality

      public String cardinality
      The cardinality of the reference.

      This is declared in the cardinality attribute of the reference element. This must be the default cardinality if the component description does not declare a cardinality for the reference.

    • policy

      public String policy
      The policy of the reference.

      This is declared in the policy attribute of the reference element. This must be the default policy if the component description does not declare a policy for the reference.

    • policyOption

      public String policyOption
      The policy option of the reference.

      This is declared in the policy-option attribute of the reference element. This must be the default policy option if the component description does not declare a policy option for the reference.

    • target

      public String target
      The target of the reference.

      This is declared in the target attribute of the reference element. This must be null if the component description does not declare a target for the reference.

    • bind

      public String bind
      The name of the bind method of the reference.

      This is declared in the bind attribute of the reference element. This must be null if the component description does not declare a bind method for the reference.

    • unbind

      public String unbind
      The name of the unbind method of the reference.

      This is declared in the unbind attribute of the reference element. This must be null if the component description does not declare an unbind method for the reference.

    • updated

      public String updated
      The name of the updated method of the reference.

      This is declared in the updated attribute of the reference element. This must be null if the component description does not declare an updated method for the reference.

    • field

      public String field
      The name of the field of the reference.

      This is declared in the field attribute of the reference element. This must be null if the component description does not declare a field for the reference.

    • fieldOption

      public String fieldOption
      The field option of the reference.

      This is declared in the field-option attribute of the reference element. This must be null if the component description does not declare a field for the reference.

    • scope

      public String scope
      The scope of the reference.

      This is declared in the scope attribute of the reference element. This must be the default scope if the component description does not declare a scope for the reference.

    • parameter

      public Integer parameter
      The zero-based parameter number of the constructor parameter for the reference.

      This is declared in the parameter attribute of the reference element. This must be null if the component description does not declare a parameter number for the reference.

      Since:
      1.4
    • collectionType

      public String collectionType
      The collection type for the reference.

      This is declared in the field-collection-type attribute of the reference element. This must be null if the component description does not declare a collection type for the reference.

      Since:
      1.4
  • Constructor Details

    • ReferenceDTO

      public ReferenceDTO()