net.sf.crispy
Class InterceptorContext

java.lang.Object
  extended bynet.sf.crispy.InterceptorContext

public final class InterceptorContext
extends java.lang.Object

Structure with information about the method-invocation, how method and args.

Author:
Linke

Constructor Summary
InterceptorContext(DynamicProxy pvDynamicProxy, java.lang.reflect.Method pvMethod, java.lang.Object[] pvArgs)
           
InterceptorContext(DynamicProxy pvDynamicProxy, java.lang.reflect.Method pvMethod, java.lang.Object[] pvArgs, java.lang.Object pvElseObject)
           
 
Method Summary
 java.lang.Object[] getArgs()
           
 DynamicProxy getDynamicProxy()
           
 java.lang.Object getElseObject()
           
 boolean getInterruptInvocation()
           
 java.lang.reflect.Method getMethod()
           
 java.lang.Object getResult()
           
 void setArgs(java.lang.Object[] pvArgs)
           
 void setDynamicProxy(DynamicProxy pvDynamicProxy)
           
 void setElseObject(java.lang.Object pvElseObject)
           
 void setInterruptInvocation(boolean pvInterruptInvocation)
           
 void setMethod(java.lang.reflect.Method pvMethod)
           
 void setResult(java.lang.Object pvResult)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterceptorContext

public InterceptorContext(DynamicProxy pvDynamicProxy,
                          java.lang.reflect.Method pvMethod,
                          java.lang.Object[] pvArgs)

InterceptorContext

public InterceptorContext(DynamicProxy pvDynamicProxy,
                          java.lang.reflect.Method pvMethod,
                          java.lang.Object[] pvArgs,
                          java.lang.Object pvElseObject)
Method Detail

setInterruptInvocation

public void setInterruptInvocation(boolean pvInterruptInvocation)

getInterruptInvocation

public boolean getInterruptInvocation()

getArgs

public java.lang.Object[] getArgs()

setArgs

public void setArgs(java.lang.Object[] pvArgs)

getDynamicProxy

public DynamicProxy getDynamicProxy()

setDynamicProxy

public void setDynamicProxy(DynamicProxy pvDynamicProxy)

getElseObject

public java.lang.Object getElseObject()

setElseObject

public void setElseObject(java.lang.Object pvElseObject)

getMethod

public java.lang.reflect.Method getMethod()

setMethod

public void setMethod(java.lang.reflect.Method pvMethod)

setResult

public void setResult(java.lang.Object pvResult)

getResult

public java.lang.Object getResult()

toString

public java.lang.String toString()
See Also:
Object.toString()


Copyright © 2005-2006 Crispy. All Rights Reserved.