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