org.apache.commons.proxy.factory.javassist
Class JavassistInvocation
java.lang.Object
org.apache.commons.proxy.factory.javassist.JavassistInvocation
- All Implemented Interfaces:
- Invocation
public abstract class JavassistInvocation
- extends Object
- implements Invocation
A Javassist-based Invocation
implementation. This
class actually serves as the superclass for all Javassist-based
method invocations. Subclasses are dynamically created to deal with specific interface methods (they're hard-wired).
- Since:
- 1.0
- Author:
- James Carman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
method
protected final Method method
target
protected final Object target
arguments
protected final Object[] arguments
JavassistInvocation
public JavassistInvocation(Method method,
Object target,
Object[] arguments)
getArguments
public Object[] getArguments()
- Description copied from interface:
Invocation
- Returns the arguments being passed to this method invocation. Changes in the elements of this array will be
propagated to the recipient of this invocation.
- Specified by:
getArguments
in interface Invocation
- Returns:
- the arguments being passed to this method invocation
getMethod
public Method getMethod()
- Description copied from interface:
Invocation
- Returns the method being called.
- Specified by:
getMethod
in interface Invocation
- Returns:
- the method being called
getProxy
public Object getProxy()
- Description copied from interface:
Invocation
- Returns the proxy object on which this invocation was invoked.
- Specified by:
getProxy
in interface Invocation
- Returns:
- the proxy object on which this invocation was invoked
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.