org.kuali.rice.ksb.messaging
Class KSBClientProxy

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.KSBClientProxy
All Implemented Interfaces:
InvocationHandler

public class KSBClientProxy
extends Object
implements InvocationHandler

This class creates a proxy for services deployed on KSB. A reference to the service is obtained only upon the first method invocation.

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

Constructor Summary
KSBClientProxy(String serviceQName)
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
static
<T> T
newInstance(String serviceQName, Class<T> interfaceClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KSBClientProxy

public KSBClientProxy(String serviceQName)
Method Detail

newInstance

public static <T> T newInstance(String serviceQName,
                                Class<T> interfaceClass)
                     throws InstantiationException,
                            IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.