Package org.osgi.service.cdi.annotations
Annotation Interface 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.
- See Also:
-
- "Single Component"
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Support inline instantiation of theSingleComponent
annotation.