Liferay 6.2-ce-ga5

com.liferay.portal.kernel.messaging.proxy
Class ProxyRequest

java.lang.Object
  extended by 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

Constructor Summary
ProxyRequest()
          The empty constructor is required by Externalizable.
ProxyRequest(Method method, Object[] arguments)
           
 
Method Summary
 Object execute(Object object)
           
 Object[] getArguments()
           
 boolean hasReturnValue()
           
 boolean isLocal()
           
 boolean isSynchronous()
           
 void readExternal(ObjectInput objectInput)
           
 String toString()
           
 void writeExternal(ObjectOutput objectOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

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

Liferay 6.2-ce-ga5