org.apache.openejb.core.interceptor
Class ReflectionInvocationContext

java.lang.Object
  extended by org.apache.openejb.core.interceptor.ReflectionInvocationContext
All Implemented Interfaces:
javax.interceptor.InvocationContext
Direct Known Subclasses:
JaxRpcInvocationContext, JaxWsInvocationContext

public class ReflectionInvocationContext
extends java.lang.Object
implements javax.interceptor.InvocationContext

Version:
$Rev: 960986 $ $Date: 2010-07-06 21:22:21 +0200 (Di, 06. Jul 2010) $

Constructor Summary
ReflectionInvocationContext(Operation operation, java.util.List<Interceptor> interceptors, java.lang.Object target, java.lang.reflect.Method method, java.lang.Object... parameters)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getContextData()
           
 java.lang.reflect.Method getMethod()
           
 java.lang.Object[] getParameters()
           
 java.lang.Object getTarget()
           
 java.lang.Object proceed()
           
 void setParameters(java.lang.Object[] parameters)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReflectionInvocationContext

public ReflectionInvocationContext(Operation operation,
                                   java.util.List<Interceptor> interceptors,
                                   java.lang.Object target,
                                   java.lang.reflect.Method method,
                                   java.lang.Object... parameters)
Method Detail

getTarget

public java.lang.Object getTarget()
Specified by:
getTarget in interface javax.interceptor.InvocationContext

getMethod

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

getParameters

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

setParameters

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

getContextData

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

proceed

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.