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