public class ReferenceTemplateDTO extends DTO
The content of this DTO is resolved form metadata at initialization time and remains the same between the CDI bundle restarts.
Modifier and Type | Field and Description |
---|---|
MaximumCardinality |
maximumCardinality
The maximum cardinality of the reference.
|
int |
minimumCardinality
The minimum cardinality of the reference.
|
String |
name
A unique within the container and persistent across reboots identified
for this activation
|
ReferencePolicy |
policy
Indicates if the reference is dynamic or static in nature.
|
ReferencePolicyOption |
policyOption
Indicates if the reference is greedy or reluctant in nature.
|
String |
serviceType
Indicates the type of service matched by the reference.
|
String |
targetFilter
Indicates a target filter used in addition to the
serviceType to
match services. |
Constructor and Description |
---|
ReferenceTemplateDTO() |
public String name
The value must not be null
. The value must be equal to the
reference name.
public String serviceType
The value must not be null
.
public String targetFilter
serviceType
to
match services.
Contains the target filter resolved from the CDI bundle metadata. The filter can be replaced by configuration at runtime.
public int minimumCardinality
Contains the minimum cardinality statically resolved from the CDI bundle metadata. The minimum cardinality can be replaced by configuration at runtime.
maximumCardinality
is ONE
the
value must be either 0 or 1.maximumCardinality
is MANY
the value must be from 0 to Integer.MAX_VALUE
.
public MaximumCardinality maximumCardinality
public ReferencePolicy policy
public ReferencePolicyOption policyOption
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0