Top Description Inners Methods
org.osgi.service.cdi.annotations

public @Interface ComponentScoped

extends Annotation
Known Direct Implementers
org.osgi.service.cdi.annotations.ComponentScoped.Literal
Annotations
@Documented
@Inherited
@Retention:RUNTIME
@Scope
@Target:FIELD, METHOD, PARAMETER, TYPE
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .ElementType.PARAMETER, .ElementType.TYPE, .RetentionPolicy.RUNTIME

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 and Inner Type Summary

Modifier and TypeClass and Description
public static class
ComponentScoped.Literal

Support inline instantiation of the ComponentScoped annotation.

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString
org.osgi.service.cdi.annotations back to summary

public final Class ComponentScoped.Literal

extends AnnotationLiteral<ComponentScoped>
implements ComponentScoped
Class Inheritance
All Implemented Interfaces
org.osgi.service.cdi.annotations.ComponentScoped, java.lang.annotation.Annotation

Support inline instantiation of the ComponentScoped annotation.

Field Summary

Modifier and TypeField and Description
public static final ComponentScoped
INSTANCE

Default instance.

private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from javax.enterprise.util.AnnotationLiteral:
annotationTypeequalshashCodetoString

Field Detail

INSTANCEback to summary
public static final ComponentScoped INSTANCE

Default instance.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.enterprise.util.AnnotationLiteral.serialVersionUID.

Constructor Detail

Literalback to summary
public Literal()