Package org.osgi.service.cdi.annotations
Annotation Type 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.- Author:
- $Id: 4ef9932268e8e7245fabb2e44560fa60804b7068 $
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Support inline instantiation of theComponentScoped
annotation.