Package org.osgi.service.cdi.annotations
Annotation Interface ComponentScoped
@Documented
@Inherited
@Retention(RUNTIME)
@Scope
@Target({FIELD,METHOD,PARAMETER,TYPE})
public @interface ComponentScoped
This scope is used to declare a bean who's lifecycle is determined by the
state of it's OSGi dependencies and the
SingleComponent(s)
and FactoryComponent(s)
that may
reference it through injection.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Support inline instantiation of theComponentScoped
annotation.