org.apache.openejb
Class MethodContext

java.lang.Object
  extended by org.apache.openejb.MethodContext

public class MethodContext
extends Object

Version:
$Rev$ $Date$

Nested Class Summary
static class MethodContext.InterfaceMethodContext
          Currently (and as a matter of legacy) only EJB 2.x style interfaces may have different transaction attributes for an individual interface method.
 
Constructor Summary
MethodContext(BeanContext beanContext, Method beanMethod)
           
 
Method Summary
 void addCdiInterceptor(InterceptorData data)
           
 Duration getAccessTimeout()
           
 BeanContext getBeanContext()
           
 Method getBeanMethod()
           
 List<InterceptorData> getInterceptors()
           
 javax.ejb.LockType getLockType()
           
 List<ScheduleData> getSchedules()
           
 TransactionType getTransactionType()
           
 boolean isAsynchronous()
           
 void setAccessTimeout(Duration accessTimeout)
           
 void setAsynchronous(boolean asynchronous)
           
 void setInterceptors(List<InterceptorData> interceptors)
           
 void setLockType(javax.ejb.LockType lockType)
           
 void setTransactionType(TransactionType transactionType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodContext

public MethodContext(BeanContext beanContext,
                     Method beanMethod)
Method Detail

setAccessTimeout

public void setAccessTimeout(Duration accessTimeout)

getAccessTimeout

public Duration getAccessTimeout()

getBeanContext

public BeanContext getBeanContext()

getBeanMethod

public Method getBeanMethod()

addCdiInterceptor

public void addCdiInterceptor(InterceptorData data)

setInterceptors

public void setInterceptors(List<InterceptorData> interceptors)

getInterceptors

public List<InterceptorData> getInterceptors()

getLockType

public javax.ejb.LockType getLockType()

setLockType

public void setLockType(javax.ejb.LockType lockType)

getTransactionType

public TransactionType getTransactionType()

setTransactionType

public void setTransactionType(TransactionType transactionType)

getSchedules

public List<ScheduleData> getSchedules()

isAsynchronous

public boolean isAsynchronous()

setAsynchronous

public void setAsynchronous(boolean asynchronous)


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.