站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

Remove (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

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. Indicates that the stateful session bean is to be removed by the container after completion of the method.


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

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.