Package org.osgi.service.cdi.annotations
Annotation Type SingleComponent
@ComponentScoped
@Documented
@Named
@Retention(RUNTIME)
@Stereotype
@Target(TYPE)
public @interface SingleComponent
Identifies a single component.
Single components MUST always be ComponentScoped
.
Applying any other scope will result in a definition error.
- Author:
- $Id: c6213cc188052c8eba100120f2d2390fe47f3d8e $
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Support inline instantiation of theSingleComponent
annotation.