Package org.osgi.service.cdi.annotations
Class ServiceInstance.Literal
java.lang.Object
javax.enterprise.util.AnnotationLiteral<ServiceInstance>
org.osgi.service.cdi.annotations.ServiceInstance.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
- ServiceInstance
public static final class ServiceInstance.Literal
extends javax.enterprise.util.AnnotationLiteral<ServiceInstance>
implements ServiceInstance
Support inline instantiation of the
ServiceInstance
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.ServiceInstance
ServiceInstance.Literal
-
Method Summary
Methods inherited from class javax.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Method Details
-
of
- Parameters:
type
- the type of the ServiceInstance- Returns:
- an instance of
ServiceInstance
-
value
-