Package org.osgi.service.cdi.annotations
Class MinimumCardinality.Literal
java.lang.Object
javax.enterprise.util.AnnotationLiteral<MinimumCardinality>
org.osgi.service.cdi.annotations.MinimumCardinality.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
- MinimumCardinality
public static final class MinimumCardinality.Literal
extends javax.enterprise.util.AnnotationLiteral<MinimumCardinality>
implements MinimumCardinality
Support inline instantiation of the
MinimumCardinality
annotation.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.enterprise.util.AnnotationLiteral
javax.enterprise.util.AnnotationLiteral.PrivilegedActionForAccessibleObject
Nested classes/interfaces inherited from class org.osgi.service.cdi.annotations.MinimumCardinality
MinimumCardinality.Literal
-
Method Summary
Modifier and TypeMethodDescriptionstatic final MinimumCardinality.Literal
of
(int value) int
value()
Methods inherited from class javax.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Method Details
-
of
- Parameters:
value
- the minimum cardinality- Returns:
- an instance of
MinimumCardinality
-
value
public int value()
-