Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » ejb » plugins » [javadoc | source]
org.jboss.ejb.plugins
public class: TxInterceptorCMT [javadoc | source]
java.lang.Object
   org.jboss.ejb.plugins.AbstractInterceptor
      org.jboss.ejb.plugins.AbstractTxInterceptor
         org.jboss.ejb.plugins.TxInterceptorCMT

All Implemented Interfaces:
    XmlLoadable, Interceptor

This interceptor handles transactions for CMT beans.
Field Summary
public static  int MAX_RETRIES     
public static  Random random     
Fields inherited from org.jboss.ejb.plugins.AbstractTxInterceptor:
ejbTimeout,  tm
Fields inherited from org.jboss.ejb.plugins.AbstractInterceptor:
nextInterceptor,  log,  container
Method from org.jboss.ejb.plugins.TxInterceptorCMT Summary:
checkTransactionStatus,   create,   importXml,   invoke,   invokeHome,   isADE,   resetStatistic,   retrieveStatistic,   sample,   throwJBossException
Methods from org.jboss.ejb.plugins.AbstractTxInterceptor:
create,   invokeNext
Methods from org.jboss.ejb.plugins.AbstractInterceptor:
create,   destroy,   getContainer,   getNext,   invoke,   invokeHome,   isAppException,   setContainer,   setNext,   start,   stop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ejb.plugins.TxInterceptorCMT Detail:
 protected  void checkTransactionStatus(Transaction tx,
    InvocationType type) throws TransactionRolledbackException 
    The application has not thrown an exception, but... When exception-on-rollback is true, check whether the transaction is not active. If it did not throw an exception anyway.
 public  void create() throws Exception 
 public  void importXml(Element ielement) 
 public Object invoke(Invocation invocation) throws Exception 
    This method does invocation interpositioning of tx management
 public Object invokeHome(Invocation invocation) throws Exception 
 public static ApplicationDeadlockException isADE(Throwable t) 
    Detects exception contains is or a ApplicationDeadlockException.
 public  void resetStatistic() 
 public Map retrieveStatistic() 
 public  void sample(Object s) 
 protected  void throwJBossException(Exception e,
    InvocationType type) throws TransactionRolledbackException 
    Rethrow the exception as a rollback or rollback local