public class NullInvoker extends java.lang.Object implements Invoker
Invoker
implementation that returns always new Null objects.Constructor and Description |
---|
NullInvoker(java.lang.Class type,
ProxyFactory proxyFactory)
Construct a NullInvoker.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Invocation of a method of the proxied object.
|
public NullInvoker(java.lang.Class type, ProxyFactory proxyFactory)
type
- the type of the proxyproxyFactory
- the ProxyFactory
to usepublic java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
Invoker