org.kuali.rice.core.proxy
Class BaseTargetedInvocationHandler

java.lang.Object
  extended by org.kuali.rice.core.proxy.BaseInvocationHandler
      extended by org.kuali.rice.core.proxy.BaseTargetedInvocationHandler
All Implemented Interfaces:
InvocationHandler, TargetedInvocationHandler
Direct Known Subclasses:
BAMClientProxy, BAMServerProxy, BusClientFailureProxy, ContextClassLoaderProxy

public abstract class BaseTargetedInvocationHandler
extends BaseInvocationHandler
implements TargetedInvocationHandler

A simple TargetedInvocationHandler which extends the BaseInvocationHandler. Provides construction of the handler with the target object and implements the interface by providing access to the target via the getTarget() method.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private  Object target
           
 
Constructor Summary
BaseTargetedInvocationHandler(Object target)
           
 
Method Summary
 Object getTarget()
          Returns the target object wrapped by this InvocationHandler.
 void setTarget(Object target)
           
 
Methods inherited from class org.kuali.rice.core.proxy.BaseInvocationHandler
invoke, invokeInternal, proxyEquals, proxyHashCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.reflect.InvocationHandler
invoke
 

Field Detail

target

private Object target
Constructor Detail

BaseTargetedInvocationHandler

public BaseTargetedInvocationHandler(Object target)
Method Detail

getTarget

public Object getTarget()
Description copied from interface: TargetedInvocationHandler
Returns the target object wrapped by this InvocationHandler.

Specified by:
getTarget in interface TargetedInvocationHandler

setTarget

public void setTarget(Object target)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.