nullactivity.java

来自「jainslee1.0 源代码」· Java 代码 · 共 30 行

JAVA
30 行
字号
package javax.slee.nullactivity;import javax.slee.SLEEException;import javax.slee.TransactionRequiredLocalException;/** * This interface is implemented by null activity objects.  Null activities can be * used by SBBs that need to create an event channel and manage its lifecycle * independent of other SLEE or resource adaptor activities. * * @see NullActivityFactory * @see NullActivityContextInterfaceFactory */public interface NullActivity {    /**     * End the null activity.  If the null activity is already ending (or has     * already ended) this method has no further effect.     * <p>     * This method is a mandatory transactional method.  The null activity will     * only end if the transaction invoking this method commits successfully.     * @throws TransactionRequiredLocalException if this method is invoked without a valid transaction     *        context.     * @throws SLEEException if the activity could not be ended due to a system-level     *        failure.     */    public void endActivity()        throws TransactionRequiredLocalException, SLEEException;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?