Name

LocalObject

Synopsis

A LocalObject represents a local interface for an IDL interface, allowing for efficient, local interfaces to objects running in the same VM. Any remote operations that are not relevant for a local object will throw a NO_IMPLEMENT exception. Added as of JDK 1.4.

                  Implementations
public class LocalObject implements org.omg.CORBA.Object {
// Public Constructors
   public LocalObject();  
// Public Instance Methods
   public org.omg.CORBA.Object _get_interface();  
   public org.omg.CORBA.portable.InputStream _invoke( org.omg.CORBA.portable.OutputStream output) 
       throws org.omg.CORBA.portable.ApplicationExceptionorg.omg.CORBA.portable.RemarshalException;  
   public boolean _is_local();  
   public org.omg.CORBA.ORB _orb();  
   public void _releaseReply(
        org.omg.CORBA.portable.InputStream input);  
   public org.omg.CORBA.portable.OutputStream _request(
        String operation, boolean responseExpected);  
   public void _servant_postinvoke(
        org.omg.CORBA.portable.ServantObject servant);  
   public org.omg.CORBA.portable.ServantObject _servant_preinvoke(
        String operation, Class expectedType);  
   public boolean validate_connection();  
// Methods Implementing Object
   public Request _create_request(org.omg.CORBA.Context ctx, 
        String operation, NVList arg_list, 
        NamedValue result);  
   public Request _create_request(org.omg.CORBA.Context ctx, 
        String operation, NVList arg_list, 
        NamedValue result, ExceptionList exceptions, 
        ContextList contexts ...

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.