Package org.osgi.service.cdi.annotations
Class Reference.Literal
- java.lang.Object
-
- javax.enterprise.util.AnnotationLiteral<Reference>
-
- org.osgi.service.cdi.annotations.Reference.Literal
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
- Enclosing class:
- Reference
public static final class Reference.Literal extends javax.enterprise.util.AnnotationLiteral<Reference> implements Reference
Support inline instantiation of theReference
annotation.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.osgi.service.cdi.annotations.Reference
Reference.Any, Reference.Literal
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Reference.Literal
of(java.lang.Class<?> service, java.lang.String target)
java.lang.String
target()
java.lang.Class<?>
value()
-
Methods inherited from class javax.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
-
-
-
Method Detail
-
of
public static final Reference.Literal of(java.lang.Class<?> service, java.lang.String target)
- Parameters:
service
-target
-- Returns:
- instance of
Reference
-
value
public java.lang.Class<?> value()
-
target
public java.lang.String target()
-
-