Top Description Methods
jakarta.ejb

public @Interface Remove

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

Applied to a business method of a stateful session bean class to indicate to the container that the stateful session bean is to be removed by the container after completion of the method.
Since
EJB 3.0

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

a boolean.
retainIfException
()

If true, the stateful session bean will not be removed if an exception is thrown from the designated method.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

retainIfExceptionback to summary
public boolean retainIfException()

If true, the stateful session bean will not be removed if an exception is thrown from the designated method.

Returns:boolean

a boolean.