Remove (Java EE 5 SDK)

Java

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.

默认值:
false

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.