org.jpu.patterns.proxy.test
Class JPUProxyAccountImpl

java.lang.Object
  extended byorg.jpu.patterns.proxy.JPUInvocationHandler
      extended byorg.jpu.patterns.proxy.test.JPUProxyAccountImpl
All Implemented Interfaces:
java.lang.reflect.InvocationHandler, java.io.Serializable

public class JPUProxyAccountImpl
extends JPUInvocationHandler

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jpu.patterns.proxy.JPUInvocationHandler
JPUInvocationHandler.DelegationCacheValue, JPUInvocationHandler.DelegationState
 
Constructor Summary
JPUProxyAccountImpl()
           
 
Method Summary
 boolean doInvoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object[] result)
          Overrides the method of JPUInvocationHandler.
 
Methods inherited from class org.jpu.patterns.proxy.JPUInvocationHandler
autoDelegateToSelf, delegate, doGetImplementedInterfaces, getCacheHits, getCacheMisses, getCurrentInterfaceMethod, getDefaultClassLoader, getDelegationMethod, getDelegationState, getDelegationTargetMethod, getInterfaces, getProxy, initializeProxy, invoke, newProxy, newProxy, newProxy, resetCacheCounters, rethrow, setDelegationState, throwUnhandledException, throwUnlistedException, wouldDelegationInfinitelyRecurse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPUProxyAccountImpl

public JPUProxyAccountImpl()
Method Detail

doInvoke

public boolean doInvoke(java.lang.Object proxy,
                        java.lang.reflect.Method method,
                        java.lang.Object[] args,
                        java.lang.Object[] result)
                 throws java.lang.Throwable
Description copied from class: JPUInvocationHandler
Overrides the method of JPUInvocationHandler. If autoDelegateToSelf() returns true, calls JPUInvocationHandler.delegate(Object,Object,Method,Object[],Object[]). Returns whether the invocation was handled or not.

Overrides:
doInvoke in class JPUInvocationHandler
Throws:
java.lang.Throwable


Copyright (c) 2001-2003 - Apache Software Foundation