Package javax.ejb
Annotation Type Remove
Applied to a business method of a stateful session bean class. Indicates
that the stateful session bean is to be removed by the container after
completion of the method.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIf true, the stateful session bean will not be removed if an exception is thrown from the designated method.
-
Element Details
-
retainIfException
boolean retainIfExceptionIf true, the stateful session bean will not be removed if an exception is thrown from the designated method.- Default:
false
-