Top Description Inners Methods
javax.enterprise.context

public @Interface BeforeDestroyed

extends Annotation
Known Direct Implementers
javax.enterprise.context.BeforeDestroyed.Literal
Annotations
@Qualifier
@Target:TYPE, METHOD, PARAMETER, FIELD
@Retention:RUNTIME
@Documented
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .ElementType.PARAMETER, .ElementType.TYPE, .RetentionPolicy.RUNTIME

An event with this qualifier is fired when a context is about to be destroyed, i.e. before the actual destruction.
Authors
Pete Muir, Martin Kouba
Since
2.0
See Also
Initialized, Destroyed

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
BeforeDestroyed.Literal

Supports inline instantiation of the BeforeDestroyed qualifier.

Method Summary

Modifier and TypeMethod and Description
public Class<? extends Annotation>
value()

The scope for which to observe destruction

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Class<? extends Annotation> value()

The scope for which to observe destruction

javax.enterprise.context back to summary

public final Class BeforeDestroyed.Literal

extends AnnotationLiteral<BeforeDestroyed>
implements BeforeDestroyed
Class Inheritance
All Implemented Interfaces
javax.enterprise.context.BeforeDestroyed, java.lang.annotation.Annotation

Supports inline instantiation of the BeforeDestroyed qualifier.

Field Summary

Modifier and TypeField and Description
public static final BeforeDestroyed.Literal
public static final BeforeDestroyed.Literal
public static final BeforeDestroyed.Literal
private static final long
public static final BeforeDestroyed.Literal
private final Class<? extends Annotation>

Constructor Summary

AccessConstructor and Description
private
Literal(Class<? extends Annotation> value)

Method Summary

Modifier and TypeMethod and Description
public static BeforeDestroyed.Literal
of(Class<? extends Annotation> value)

public Class<? extends Annotation>
value()

Implements javax.enterprise.context.BeforeDestroyed.value.

The scope for which to observe destruction
Inherited from javax.enterprise.util.AnnotationLiteral:
annotationTypeequalshashCodetoString

Field Detail

APPLICATIONback to summary
public static final BeforeDestroyed.Literal APPLICATION
CONVERSATIONback to summary
public static final BeforeDestroyed.Literal CONVERSATION
REQUESTback to summary
public static final BeforeDestroyed.Literal REQUEST
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.enterprise.util.AnnotationLiteral.serialVersionUID.

SESSIONback to summary
public static final BeforeDestroyed.Literal SESSION
valueback to summary
private final Class<? extends Annotation> value

Constructor Detail

Literalback to summary
private Literal(Class<? extends Annotation> value)

Method Detail

ofback to summary
public static BeforeDestroyed.Literal of(Class<? extends Annotation> value)
valueback to summary
public Class<? extends Annotation> value()

Implements javax.enterprise.context.BeforeDestroyed.value.

Doc from javax.enterprise.context.BeforeDestroyed.value.

The scope for which to observe destruction