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