Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mortbay.j2ee.session
Class TransactionInterceptor  view TransactionInterceptor download TransactionInterceptor.java

java.lang.Object
  extended byorg.mortbay.j2ee.session.StateInterceptor
      extended byorg.mortbay.j2ee.session.AroundInterceptor
          extended byorg.mortbay.j2ee.session.TransactionInterceptor
All Implemented Interfaces:
java.lang.Cloneable, State

public class TransactionInterceptor
extends AroundInterceptor


Field Summary
protected  javax.naming.Context _ctx
           
protected static org.jboss.logging.Logger _log
           
protected  java.lang.ThreadLocal _theirTransaction
           
 
Fields inherited from class org.mortbay.j2ee.session.StateInterceptor
 
Constructor Summary
TransactionInterceptor()
           
 
Method Summary
protected  void after()
           
protected  void before()
           
protected  javax.transaction.TransactionManager getTransactionManager()
           
 
Methods inherited from class org.mortbay.j2ee.session.AroundInterceptor
getAttribute, getAttributeNameEnumeration, getAttributeNameStringArray, getAttributes, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, removeAttribute, setAttribute, setAttributes, setLastAccessedTime, setMaxInactiveInterval
 
Methods inherited from class org.mortbay.j2ee.session.StateInterceptor
clone, getActualMaxInactiveInterval, getManager, getSession, getState, isValid, setManager, setSession, setState, start, stop, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_log

protected static final org.jboss.logging.Logger _log

_theirTransaction

protected final java.lang.ThreadLocal _theirTransaction

_ctx

protected javax.naming.Context _ctx
Constructor Detail

TransactionInterceptor

public TransactionInterceptor()
Method Detail

getTransactionManager

protected javax.transaction.TransactionManager getTransactionManager()

before

protected void before()
Specified by:
before in class AroundInterceptor

after

protected void after()
Specified by:
after in class AroundInterceptor