1. package org.omg.PortableServer;
  2. /**
  3. * org/omg/PortableServer/ServantActivatorPOA.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.2"
  5. * from ../../../../src/share/classes/org/omg/PortableServer/poa.idl
  6. * Wednesday, September 15, 2004 10:28:41 AM GMT
  7. */
  8. /**
  9. * When the POA has the RETAIN policy it uses servant
  10. * managers that are ServantActivators.
  11. */
  12. public abstract class ServantActivatorPOA extends org.omg.PortableServer.Servant
  13. implements org.omg.PortableServer.ServantActivatorOperations, org.omg.CORBA.portable.InvokeHandler
  14. {
  15. // Constructors
  16. private static java.util.Hashtable _methods = new java.util.Hashtable ();
  17. static
  18. {
  19. _methods.put ("incarnate", new java.lang.Integer (0));
  20. _methods.put ("etherealize", new java.lang.Integer (1));
  21. }
  22. public org.omg.CORBA.portable.OutputStream _invoke (String $method,
  23. org.omg.CORBA.portable.InputStream in,
  24. org.omg.CORBA.portable.ResponseHandler $rh)
  25. {
  26. throw new org.omg.CORBA.BAD_OPERATION();
  27. } // _invoke
  28. // Type-specific CORBA::Object operations
  29. private static String[] __ids = {
  30. "IDL:omg.org/PortableServer/ServantActivator:2.3",
  31. "IDL:omg.org/PortableServer/ServantManager:1.0"};
  32. public String[] _all_interfaces (org.omg.PortableServer.POA poa, byte[] objectId)
  33. {
  34. return (String[])__ids.clone ();
  35. }
  36. public ServantActivator _this()
  37. {
  38. return ServantActivatorHelper.narrow(
  39. super._this_object());
  40. }
  41. public ServantActivator _this(org.omg.CORBA.ORB orb)
  42. {
  43. return ServantActivatorHelper.narrow(
  44. super._this_object(orb));
  45. }
  46. } // class ServantActivatorPOA