javax.ejb
Annotation Type Remove


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface Remove

Call on this annotated method will do a remove of the stateful bean except if retainIfException is set to true.

Since:
EJB 3.0 version.
Author:
Florent Benoit
See Also:
EJB 3.0 specification

Optional Element Summary
 boolean retainIfException
          Do not remove bean if there is an exception (if true).
 

retainIfException

public abstract boolean retainIfException
Do not remove bean if there is an exception (if true).

Default:
false


Copyright © 2008. All Rights Reserved.