|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
javax.ejb Annotation Type Remove
Implements:
Annotation
@Target(value=METHOD)@Retention(value=RUNTIME)
应用于有状态会话 Bean 类的业务方法。指示有状态会话 Bean 在方法完成后将被容器移除。
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. |
abstract public boolean
retainIfException()
如果为 true,则在指定的方法抛出异常的情况下,有状态会话 Bean 不会被移除。
英文文档:
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!