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

public Class ReferenceTemplateDTO

extends DTO
Class Inheritance
Imports
org.osgi.dto.DTO, org.osgi.service.cdi.MaximumCardinality, .ReferencePolicy, .ReferencePolicyOption

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 $

Field Summary

Modifier and TypeField and Description
public MaximumCardinality
maximumCardinality

The maximum cardinality of the reference.

public int
minimumCardinality

The minimum cardinality of the reference.

public String
name

A unique within the container and persistent across reboots identified for this activation

The value must not be null.

public ReferencePolicy
policy

Indicates if the reference is dynamic or static in nature.

public ReferencePolicyOption
policyOption

Indicates if the reference is greedy or reluctant in nature.

public String
serviceType

Indicates the type of service matched by the reference.

public String
targetFilter

Indicates a target filter used in addition to the serviceType to match services.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.osgi.dto.DTO:
toString

Field Detail

maximumCardinalityback to summary
public MaximumCardinality maximumCardinality

The maximum cardinality of the reference.

minimumCardinalityback to summary
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.

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

policyback to summary
public ReferencePolicy policy

Indicates if the reference is dynamic or static in nature.

policyOptionback to summary
public ReferencePolicyOption policyOption

Indicates if the reference is greedy or reluctant in nature.

serviceTypeback to summary
public String serviceType

Indicates the type of service matched by the reference.

The value must not be null.

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

Constructor Detail

ReferenceTemplateDTOback to summary
public ReferenceTemplateDTO()