org.jboss.ejb3.core.context
Class InvocationContextAdapter

java.lang.Object
  extended by org.jboss.ejb3.context.base.BaseInvocationContext
      extended by org.jboss.ejb3.core.context.InvocationContextAdapter
All Implemented Interfaces:
javax.ejb.EJBContext, javax.interceptor.InvocationContext, org.jboss.ejb3.tx2.spi.TransactionalInvocationContext

public class InvocationContextAdapter
extends org.jboss.ejb3.context.base.BaseInvocationContext
implements org.jboss.ejb3.tx2.spi.TransactionalInvocationContext


Constructor Summary
InvocationContextAdapter(org.jboss.aop.joinpoint.MethodInvocation delegate)
           
 
Method Summary
 javax.ejb.ApplicationException getApplicationException(java.lang.Class<?> e)
           
 javax.ejb.TransactionAttributeType getTransactionAttribute()
           
 int getTransactionTimeout()
           
 java.lang.Object proceed()
           
 void setParameters(java.lang.Object[] params)
           
 
Methods inherited from class org.jboss.ejb3.context.base.BaseInvocationContext
getCallerIdentity, getCallerPrincipal, getContextData, getEJBContext, getEJBHome, getEJBLocalHome, getEnvironment, getManager, getMethod, getParameters, getRollbackOnly, getTarget, getTimer, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setCallerPrincipal, setEJBContext, setMethod, setRollbackOnly, setTimer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb3.context.spi.InvocationContext
getEJBContext, getTimer, setCallerPrincipal, setEJBContext, setTimer
 
Methods inherited from interface javax.interceptor.InvocationContext
getContextData, getMethod, getParameters, getTarget
 
Methods inherited from interface org.jboss.ejb3.context.spi.EJBContext
getContextData, getManager, getTarget
 
Methods inherited from interface javax.ejb.EJBContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 

Constructor Detail

InvocationContextAdapter

public InvocationContextAdapter(org.jboss.aop.joinpoint.MethodInvocation delegate)
Method Detail

getApplicationException

public javax.ejb.ApplicationException getApplicationException(java.lang.Class<?> e)
Specified by:
getApplicationException in interface org.jboss.ejb3.tx2.spi.TransactionalInvocationContext

getTransactionAttribute

public javax.ejb.TransactionAttributeType getTransactionAttribute()
Specified by:
getTransactionAttribute in interface org.jboss.ejb3.tx2.spi.TransactionalInvocationContext

getTransactionTimeout

public int getTransactionTimeout()
Specified by:
getTransactionTimeout in interface org.jboss.ejb3.tx2.spi.TransactionalInvocationContext

proceed

public java.lang.Object proceed()
                         throws java.lang.Exception
Specified by:
proceed in interface javax.interceptor.InvocationContext
Specified by:
proceed in class org.jboss.ejb3.context.base.BaseInvocationContext
Throws:
java.lang.Exception

setParameters

public void setParameters(java.lang.Object[] params)
                   throws java.lang.IllegalArgumentException,
                          java.lang.IllegalStateException
Specified by:
setParameters in interface javax.interceptor.InvocationContext
Overrides:
setParameters in class org.jboss.ejb3.context.base.BaseInvocationContext
Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException