javax.ejb

Interface Remove

public interface Remove

The Remove annotation.

Method Summary

boolean
retainIfException()

Method Details

retainIfException

public boolean retainIfException()
            throws false
Usages and Demos :

View More Examples of retainIfException()
   1: 
   2: import javax.ejb.Remove;
   3: 
   4:         ...
   5:     public Class<? extends Annotation> getAnnotationType() {
   6:         return Remove.class;
   7:     }    
   8:         ...
   9: 
  10:         Remove remove = (Remove) ainfo.getAnnotation();
  11: 
  12:         ...
  13:                 removalInfo.setRemoveMethod(removeMethod);
  14:                 removalInfo.setRetainIfException(remove.retainIfException());

View Full Code Here