com.liferay.portal.kernel.messaging.proxy
Class ProxyRequest
java.lang.Object
com.liferay.portal.kernel.messaging.proxy.ProxyRequest
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- Direct Known Subclasses:
- MultiClassLoaderProxyRequest
public class ProxyRequest
- extends java.lang.Object
- implements java.io.Externalizable
- Author:
- Micha Kiener, Michael C. Han, Brian Wing Shun Chan, Shuyang Zhou
- See Also:
- Serialized Form
|
Constructor Summary |
ProxyRequest()
The empty constructor is required by Externalizable. |
ProxyRequest(java.lang.reflect.Method method,
java.lang.Object[] arguments)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProxyRequest
public ProxyRequest()
- The empty constructor is required by
Externalizable. Do
not use this for any other purpose.
ProxyRequest
public ProxyRequest(java.lang.reflect.Method method,
java.lang.Object[] arguments)
throws java.lang.Exception
- Throws:
java.lang.Exception
execute
public java.lang.Object execute(java.lang.Object object)
throws java.lang.Exception
- Throws:
java.lang.Exception
getArguments
public java.lang.Object[] getArguments()
hasReturnValue
public boolean hasReturnValue()
isLocal
public boolean isLocal()
isSynchronous
public boolean isSynchronous()
readExternal
public void readExternal(java.io.ObjectInput objectInput)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Specified by:
readExternal in interface java.io.Externalizable
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
writeExternal
public void writeExternal(java.io.ObjectOutput objectOutput)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable
- Throws:
java.io.IOException