org.apache.webbeans.intercept
Class AbstractInvocationContext<T>

java.lang.Object
  extended by org.apache.webbeans.intercept.AbstractInvocationContext<T>
All Implemented Interfaces:
javax.interceptor.InvocationContext
Direct Known Subclasses:
InterceptorInvocationContext

public abstract class AbstractInvocationContext<T>
extends Object
implements javax.interceptor.InvocationContext


Field Summary
protected  Object[] parameters
           
protected  javax.inject.Provider<T> target
           
 
Constructor Summary
AbstractInvocationContext(javax.inject.Provider<T> target, AccessibleObject member, Object[] parameters)
           
AbstractInvocationContext(javax.inject.Provider<T> target, Method method, Object[] parameters, Object timer)
           
 
Method Summary
 Object directProceed()
           
 Constructor getConstructor()
           
 Map<String,Object> getContextData()
           
 Method getMethod()
           
 Object[] getParameters()
           
 T getTarget()
           
 Object getTimer()
           
 Object proceed()
           
 void setParameters(Object[] parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

protected javax.inject.Provider<T> target

parameters

protected Object[] parameters
Constructor Detail

AbstractInvocationContext

public AbstractInvocationContext(javax.inject.Provider<T> target,
                                 AccessibleObject member,
                                 Object[] parameters)

AbstractInvocationContext

public AbstractInvocationContext(javax.inject.Provider<T> target,
                                 Method method,
                                 Object[] parameters,
                                 Object timer)
Method Detail

getTarget

public T getTarget()
Specified by:
getTarget in interface javax.interceptor.InvocationContext

getMethod

public Method getMethod()
Specified by:
getMethod in interface javax.interceptor.InvocationContext

getParameters

public Object[] getParameters()
Specified by:
getParameters in interface javax.interceptor.InvocationContext

setParameters

public void setParameters(Object[] parameters)
Specified by:
setParameters in interface javax.interceptor.InvocationContext

getContextData

public Map<String,Object> getContextData()
Specified by:
getContextData in interface javax.interceptor.InvocationContext

getTimer

public Object getTimer()
Specified by:
getTimer in interface javax.interceptor.InvocationContext

proceed

public Object proceed()
               throws Exception
Specified by:
proceed in interface javax.interceptor.InvocationContext
Throws:
Exception

directProceed

public Object directProceed()
                     throws Exception
Throws:
Exception

getConstructor

public Constructor getConstructor()
Specified by:
getConstructor in interface javax.interceptor.InvocationContext


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