Annotation Type Remove

Skip navigation links

Overview
Package
Class
Use
Tree
Deprecated
Index
Help

Prev Class
Next Class

Frames
No Frames

Summary: 
Field | 
Required | 
Optional

Detail: 
Field | 
Element

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
    Optional Elements Modifier and Type 	Optional Element and Description
    boolean 	retainIfException
    If true, the stateful session bean will not be removed if an exception is thrown from the designated method.

    Element Detail
        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

Skip navigation links

Overview
Package
Class
Use
Tree
Deprecated
Index
Help

Prev Class
Next Class

Frames
No Frames

Summary: 
Field | 
Required | 
Optional

Detail: 
Field | 
Element

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

你可能感兴趣的:(javaee)