Top Description Methods
jakarta.enterprise.context

public @Interface NormalScope

extends Annotation
Annotations
@Target:ANNOTATION_TYPE
@Retention:RUNTIME
@Documented
Static Imports
java.lang.annotation.ElementType.ANNOTATION_TYPE, .RetentionPolicy.RUNTIME

Specifies that an annotation type is a normal scope type.

Authors
Gavin King, Pete Muir
See Also
@Scope is used to declare pseudo-scopes.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the scope type is a passivating scope type
passivating
()

Determines whether the normal scope type is a passivating scope.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

passivatingback to summary
public boolean passivating()

Determines whether the normal scope type is a passivating scope.

A bean is called passivation capable if the container is able to temporarily transfer the state of any idle instance to secondary storage. A passivating scope requires that beans with the scope are passivation capable.

Returns:boolean

true if the scope type is a passivating scope type