_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;