Name

ValueHandler

Synopsis

A ValueHandler is responsible for marshalling/unmarshalling objects over CORBA IOP streams.

public interface ValueHandler {
// Public Instance Methods
   public abstract String getRMIRepositoryID( Class clz);  
   public abstract org.omg.SendingContext.RunTime getRunTimeCodeBase(
        );  
   public abstract boolean isCustomMarshaled( Class clz);  
   public abstract Serializable readValue(
        org.omg.CORBA.portable.InputStream in, int offset, 
        Class clz, String repositoryID, 
        org.omg.SendingContext.RunTime sender);  
   public abstract Serializable writeReplace(
        Serializable value);  
   public abstract void writeValue(
        org.omg.CORBA.portable.OutputStream out, 
        Serializable value);  
}

Returned By

Util.createValueHandler(), UtilDelegate.createValueHandler()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.