com.thoughtworks.xjb.cmt
Class CmtSessionContext

java.lang.Object
  extended bycom.thoughtworks.xjb.ejb.XjbSessionContext
      extended bycom.thoughtworks.xjb.cmt.CmtSessionContext
All Implemented Interfaces:
javax.ejb.EJBContext, javax.ejb.SessionContext

public class CmtSessionContext
extends XjbSessionContext

Author:
Dan North

Constructor Summary
CmtSessionContext(javax.ejb.EJBHome home, javax.ejb.EJBObject remote, TransactionGetter transactionGetter)
           
 
Method Summary
 void setRollbackOnly()
           
 
Methods inherited from class com.thoughtworks.xjb.ejb.XjbSessionContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEJBLocalObject, getEJBObject, getEnvironment, getMessageContext, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmtSessionContext

public CmtSessionContext(javax.ejb.EJBHome home,
                         javax.ejb.EJBObject remote,
                         TransactionGetter transactionGetter)
Method Detail

setRollbackOnly

public void setRollbackOnly()
                     throws java.lang.IllegalStateException
Specified by:
setRollbackOnly in interface javax.ejb.EJBContext
Overrides:
setRollbackOnly in class XjbSessionContext
Throws:
java.lang.IllegalStateException