1 package org.omg.PortableServer; 2 3 4 10 11 12 16 public class _ServantActivatorStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.PortableServer.ServantActivator 17 { 18 final public static java.lang.Class _opsClass = ServantActivatorOperations .class; 19 20 21 22 39 public org.omg.PortableServer.Servant incarnate (byte[] oid, org.omg.PortableServer.POA adapter) throws org.omg.PortableServer.ForwardRequest 40 { 41 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("incarnate", _opsClass); 42 ServantActivatorOperations $self = (ServantActivatorOperations ) $so.servant; 43 44 try { 45 return $self.incarnate (oid, adapter); 46 } finally { 47 _servant_postinvoke ($so); 48 } 49 } 51 52 73 public void etherealize (byte[] oid, org.omg.PortableServer.POA adapter, org.omg.PortableServer.Servant serv, boolean cleanup_in_progress, boolean remaining_activations) 74 { 75 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("etherealize", _opsClass); 76 ServantActivatorOperations $self = (ServantActivatorOperations ) $so.servant; 77 78 try { 79 $self.etherealize (oid, adapter, serv, cleanup_in_progress, remaining_activations); 80 } finally { 81 _servant_postinvoke ($so); 82 } 83 } 85 private static String [] __ids = { 87 "IDL:omg.org/PortableServer/ServantActivator:2.3", 88 "IDL:omg.org/PortableServer/ServantManager:1.0"}; 89 90 public String [] _ids () 91 { 92 return (String [])__ids.clone (); 93 } 94 95 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 96 { 97 String str = s.readUTF (); 98 String [] args = null; 99 java.util.Properties props = null; 100 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 101 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 102 _set_delegate (delegate); 103 } 104 105 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 106 { 107 String [] args = null; 108 java.util.Properties props = null; 109 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 110 s.writeUTF (str); 111 } 112 } | Popular Tags |