Top Description Methods
javax.ejb

public @Interface PrePassivate

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

Designates a method to receive a callback before a stateful session bean is passivated.

If the method to which this annotation is applied is defined on an interceptor class, it must have one of the following signatures:

void <METHOD>(InvocationContext)

Object <METHOD>(InvocationContext) throws Exception

If the method to which this annotation is applied is defined on a target class, it must have the following signature:

void <METHOD>()
The method can have public, private, protected, or package level access. It must not be declared as final or static.
Since
EJB 3.0

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString