org.jboss.proxy.ejb
Class ReadAheadResult
java.lang.Object
org.jboss.proxy.ejb.ReadAheadResult
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public class ReadAheadResult
- extends java.lang.Object
- implements java.io.Externalizable
A result of get-method invocation of CMP 2.0 entity bean in the case where read ahead is turned on.
Usage: on server set main result via setMainResult(java.lang.Object)
and add ahead results via
addAheadResult(java.lang.Object)
. On client get main result via getMainResult()
and
array of ahead results via #getAheadResults()
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadAheadResult
public ReadAheadResult()
setMainResult
public void setMainResult(java.lang.Object mainResult)
addAheadResult
public void addAheadResult(java.lang.Object aheadResult)
getMainResult
public java.lang.Object getMainResult()
getAheadResult
public java.lang.Object[] getAheadResult()
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException