JavaScript is disabled on your browser.
Skip navigation links
Jakarta EE Platform API v11.0.0-M2
Overview
Module
Package
Class
Use
Tree
Deprecated
Index
Help
Summary:
Field
Required
Optional
Detail:
Field
Element
Summary:
Field |
Required |
Optional
Detail:
Field |
Element
SEARCH
Module
jakarta.ejb
Package
jakarta.ejb
Annotation Interface Remove
@Target
(
METHOD
)
@Retention
(
RUNTIME
)
public @interface
Remove
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
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
boolean
retainIfException
If true, the stateful session bean will not be removed if an exception is thrown from the designated method.
Element Details
retainIfException
boolean
retainIfException
If true, the stateful session bean will not be removed if an exception is thrown from the designated method.
Returns:
a boolean.
Default:
false