javax.ejb
Annotation Type Remove


@Target(value=METHOD)
@Retention(value=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
 boolean retainIfException
          If true, the stateful session bean will not be removed if an exception is thrown from the designated method.
 

retainIfException

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

Default:
false


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41