FileDocCategorySizeDatePackage
_ORBProxyImplBase.javaAPI DocJava SE 6 API2448Tue Jun 10 01:46:36 BST 2008com.sun.corba.se.PortableActivationIDL

_ORBProxyImplBase

public abstract class _ORBProxyImplBase extends ObjectImpl implements InvokeHandler, com.sun.corba.se.PortableActivationIDL.ORBProxy
ORB callback interface, passed to Activator in registerORB method.

Fields Summary
private static Hashtable
_methods
private static String[]
__ids
Constructors Summary
public _ORBProxyImplBase()

  
Methods Summary
public java.lang.String[]_ids()


     
  
    return (String[])__ids.clone ();
  
public org.omg.CORBA.portable.OutputStream_invoke(java.lang.String $method, org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler $rh)

  
  
    _methods.put ("activate_adapter", new java.lang.Integer (0));
  
    org.omg.CORBA.portable.OutputStream out = null;
    java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
    if (__method == null)
      throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);

    switch (__method.intValue ())
    {

  /** Method used to cause ORB to activate the named adapter, if possible.
	* This will cause the named POA to register itself with the activator as
	* a side effect.  This should always happen before this call can complete.
	* This method returns true if adapter activation succeeded, otherwise it
	* returns false.
	*/
       case 0:  // PortableActivationIDL/ORBProxy/activate_adapter
       {
         String name[] = org.omg.PortableInterceptor.AdapterNameHelper.read (in);
         boolean $result = false;
         $result = this.activate_adapter (name);
         out = $rh.createReply();
         out.write_boolean ($result);
         break;
       }

       default:
         throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
    }

    return out;