javax.rmi.CORBA
public interface ValueHandler
Method Summary | |
---|---|
String | getRMIRepositoryID(Class clz)
Get CORBA repository Id for the given java class.
|
RunTime | getRunTimeCodeBase()
Returns the CodeBase for this ValueHandler.
|
boolean | isCustomMarshaled(Class clz)
Indicates that the given class is responsible itself for writing its
content to the stream. |
Serializable | readValue(InputStream in, int offset, Class clz, String repositoryID, RunTime sender)
Read value from the CORBA input stream in the case when the value is not
Streamable or CustomMarshall'ed. |
Serializable | writeReplace(Serializable value)
When the value provides the writeReplace method, the result of this method
is written. |
void | writeValue(OutputStream out, Serializable value)
Write value to CORBA output stream using java senmatics.
|
Parameters: clz a class for that the repository Id is required.
Returns: the class repository id.
Returns: the codebase.
Parameters: clz the class being checked.
Returns: true if the class supports custom or default marshalling, false otherwise.
Parameters: in a CORBA stream to read. offset the current position in the input stream. clz the type of value being read. repositoryID the repository Id of the value being read. sender the sending context that should provide data about the message originator.
Returns: the object, extracted from the stream.
Parameters: the value that should be written to the stream.
Returns: the value that will be actually written to the stream.
Parameters: out a stream to write into. value a java object to write.