org.kuali.student.common.spring
Class SerializableProxyInvokationHandler

java.lang.Object
  extended by org.kuali.student.common.spring.SerializableProxyInvokationHandler
All Implemented Interfaces:
Externalizable, Serializable, InvocationHandler

public class SerializableProxyInvokationHandler
extends Object
implements InvocationHandler, Externalizable

A Serializable Proxy Invokation Handler. This handler is serializable and knows how to look up the service using the GlobalResourceLocator.

Author:
Kuali Student Team
See Also:
Serialized Form

Constructor Summary
SerializableProxyInvokationHandler()
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 void readExternal(ObjectInput in)
           
 void setServiceName(QName serviceName)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableProxyInvokationHandler

public SerializableProxyInvokationHandler()
Method Detail

setServiceName

public void setServiceName(QName serviceName)
Parameters:
serviceName - the serviceName to set

invoke

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

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException


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