com.liferay.portal.kernel.messaging.proxy
Class ProxyRequest
java.lang.Object
com.liferay.portal.kernel.messaging.proxy.ProxyRequest
- All Implemented Interfaces:
- Externalizable, Serializable
- Direct Known Subclasses:
- MultiClassLoaderProxyRequest
public class ProxyRequest
- extends Object
- implements Externalizable
- See Also:
- Serialized Form
ProxyRequest
public ProxyRequest()
- The empty constructor is required by
Externalizable
. Do
not use this for any other purpose.
ProxyRequest
public ProxyRequest(Method method,
Object[] arguments)
throws Exception
- Throws:
Exception
execute
public Object execute(Object object)
throws Exception
- Throws:
Exception
getArguments
public Object[] getArguments()
hasReturnValue
public boolean hasReturnValue()
isLocal
public boolean isLocal()
isSynchronous
public boolean isSynchronous()
readExternal
public void readExternal(ObjectInput objectInput)
throws ClassNotFoundException,
IOException
- Specified by:
readExternal
in interface Externalizable
- Throws:
ClassNotFoundException
IOException
toString
public String toString()
- Overrides:
toString
in class Object
writeExternal
public void writeExternal(ObjectOutput objectOutput)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException