gnuPOA.h 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_CORBA_Poa_gnuPOA__
  3. #define __gnu_CORBA_Poa_gnuPOA__
  4. #pragma interface
  5. #include <org/omg/CORBA/LocalObject.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace CORBA
  12. {
  13. namespace Poa
  14. {
  15. class AOM;
  16. class AOM$Obj;
  17. class ORB_1_4;
  18. class ServantDelegateImpl;
  19. class gnuPOA;
  20. }
  21. }
  22. }
  23. namespace org
  24. {
  25. namespace omg
  26. {
  27. namespace CORBA
  28. {
  29. class ORB;
  30. class Object;
  31. class Policy;
  32. class SetOverrideType;
  33. }
  34. namespace PortableInterceptor
  35. {
  36. class ObjectReferenceFactory;
  37. class ObjectReferenceTemplate;
  38. }
  39. namespace PortableServer
  40. {
  41. class AdapterActivator;
  42. class IdAssignmentPolicy;
  43. class IdAssignmentPolicyValue;
  44. class IdUniquenessPolicy;
  45. class IdUniquenessPolicyValue;
  46. class ImplicitActivationPolicy;
  47. class ImplicitActivationPolicyValue;
  48. class LifespanPolicy;
  49. class LifespanPolicyValue;
  50. class POA;
  51. class POAManager;
  52. class RequestProcessingPolicy;
  53. class RequestProcessingPolicyValue;
  54. class Servant;
  55. class ServantActivator;
  56. class ServantLocator;
  57. class ServantManager;
  58. class ServantRetentionPolicy;
  59. class ServantRetentionPolicyValue;
  60. class ThreadPolicy;
  61. class ThreadPolicyValue;
  62. }
  63. }
  64. }
  65. }
  66. class gnu::CORBA::Poa::gnuPOA : public ::org::omg::CORBA::LocalObject
  67. {
  68. public:
  69. gnuPOA(::gnu::CORBA::Poa::gnuPOA *, ::java::lang::String *, ::org::omg::PortableServer::POAManager *, JArray< ::org::omg::CORBA::Policy * > *, ::gnu::CORBA::Poa::ORB_1_4 *);
  70. virtual void waitWhileRunning();
  71. public: // actually protected
  72. virtual void etherealizeAll();
  73. virtual ::org::omg::PortableServer::POA * createPoaInstance(::java::lang::String *, ::org::omg::PortableServer::POAManager *, JArray< ::org::omg::CORBA::Policy * > *, ::gnu::CORBA::Poa::ORB_1_4 *);
  74. public:
  75. virtual jboolean applies(::java::lang::Object *);
  76. virtual void required(::java::lang::Object *);
  77. virtual void excluding(::java::lang::Object *);
  78. virtual ::org::omg::PortableServer::POA * find_POA(::java::lang::String *, jboolean);
  79. virtual JArray< jbyte > * activate_object(::org::omg::PortableServer::Servant *);
  80. virtual void activate_object_with_id(JArray< jbyte > *, ::org::omg::PortableServer::Servant *);
  81. virtual void activate_object_with_id(JArray< jbyte > *, ::org::omg::PortableServer::Servant *, jboolean);
  82. private:
  83. void locateServant(JArray< jbyte > *, ::org::omg::PortableServer::Servant *, ::gnu::CORBA::Poa::AOM$Obj *, jboolean);
  84. public:
  85. virtual void deactivate_object(JArray< jbyte > *);
  86. virtual ::org::omg::CORBA::Object * create_reference(::java::lang::String *);
  87. virtual ::org::omg::CORBA::Object * create_reference_with_id(JArray< jbyte > *, ::java::lang::String *);
  88. virtual ::org::omg::PortableServer::POA * create_POA(::java::lang::String *, ::org::omg::PortableServer::POAManager *, JArray< ::org::omg::CORBA::Policy * > *);
  89. virtual ::org::omg::PortableServer::Servant * get_servant();
  90. virtual void set_servant(::org::omg::PortableServer::Servant *);
  91. virtual void set_servant_manager(::org::omg::PortableServer::ServantManager *);
  92. virtual ::org::omg::PortableServer::ServantManager * get_servant_manager();
  93. virtual JArray< jbyte > * id();
  94. virtual ::org::omg::CORBA::Object * id_to_reference(JArray< jbyte > *);
  95. virtual ::org::omg::PortableServer::Servant * id_to_servant(JArray< jbyte > *);
  96. virtual JArray< jbyte > * reference_to_id(::org::omg::CORBA::Object *);
  97. virtual ::org::omg::PortableServer::Servant * reference_to_servant(::org::omg::CORBA::Object *);
  98. virtual JArray< jbyte > * servant_to_id(::org::omg::PortableServer::Servant *);
  99. virtual ::org::omg::CORBA::Object * servant_to_reference(::org::omg::PortableServer::Servant *);
  100. private:
  101. ::org::omg::PortableServer::Servant * incarnate(::gnu::CORBA::Poa::AOM$Obj *, JArray< jbyte > *, ::org::omg::PortableServer::Servant *, jboolean);
  102. public:
  103. virtual ::org::omg::PortableServer::POAManager * the_POAManager();
  104. virtual ::org::omg::PortableServer::AdapterActivator * the_activator();
  105. virtual void the_activator(::org::omg::PortableServer::AdapterActivator *);
  106. virtual JArray< ::org::omg::PortableServer::POA * > * the_children();
  107. virtual ::java::lang::String * the_name();
  108. virtual ::org::omg::PortableServer::POA * the_parent();
  109. virtual ::org::omg::PortableServer::IdAssignmentPolicy * create_id_assignment_policy(::org::omg::PortableServer::IdAssignmentPolicyValue *);
  110. virtual ::org::omg::PortableServer::IdUniquenessPolicy * create_id_uniqueness_policy(::org::omg::PortableServer::IdUniquenessPolicyValue *);
  111. virtual ::org::omg::PortableServer::ImplicitActivationPolicy * create_implicit_activation_policy(::org::omg::PortableServer::ImplicitActivationPolicyValue *);
  112. virtual ::org::omg::PortableServer::LifespanPolicy * create_lifespan_policy(::org::omg::PortableServer::LifespanPolicyValue *);
  113. virtual ::org::omg::PortableServer::RequestProcessingPolicy * create_request_processing_policy(::org::omg::PortableServer::RequestProcessingPolicyValue *);
  114. virtual ::org::omg::PortableServer::ServantRetentionPolicy * create_servant_retention_policy(::org::omg::PortableServer::ServantRetentionPolicyValue *);
  115. virtual ::org::omg::PortableServer::ThreadPolicy * create_thread_policy(::org::omg::PortableServer::ThreadPolicyValue *);
  116. virtual void destroy(jboolean, jboolean);
  117. public: // actually protected
  118. virtual void finalize();
  119. private:
  120. void unregisterFromManager();
  121. public:
  122. virtual ::org::omg::CORBA::Policy * _get_policy(jint);
  123. virtual JArray< ::org::omg::CORBA::Policy * > * getPolicyArray();
  124. virtual ::org::omg::CORBA::Object * _set_policy_override(JArray< ::org::omg::CORBA::Policy * > *, ::org::omg::CORBA::SetOverrideType *);
  125. virtual ::org::omg::CORBA::ORB * orb();
  126. private:
  127. void create_and_connect(JArray< jbyte > *, ::java::lang::String *, ::gnu::CORBA::Poa::ServantDelegateImpl *);
  128. public: // actually package-private
  129. virtual void checkDiscarding();
  130. public: // actually protected
  131. virtual void connect_to_orb(JArray< jbyte > *, ::org::omg::CORBA::Object *);
  132. public:
  133. virtual ::java::lang::String * toString();
  134. public: // actually protected
  135. virtual jboolean validatePolicies(JArray< ::org::omg::CORBA::Policy * > *);
  136. public:
  137. virtual ::gnu::CORBA::Poa::AOM$Obj * findObject(::org::omg::CORBA::Object *);
  138. virtual ::gnu::CORBA::Poa::AOM$Obj * findKey(JArray< jbyte > *, JArray< jbyte > *);
  139. virtual ::gnu::CORBA::Poa::AOM$Obj * findIorKey(JArray< jbyte > *);
  140. virtual JArray< jbyte > * toIORKey(JArray< jbyte > *);
  141. virtual JArray< jbyte > * idFormIor(JArray< jbyte > *);
  142. virtual ::gnu::CORBA::Poa::AOM$Obj * findServant(::org::omg::PortableServer::Servant *);
  143. virtual ::org::omg::PortableInterceptor::ObjectReferenceTemplate * getReferenceTemplate();
  144. virtual ::org::omg::PortableInterceptor::ObjectReferenceFactory * getReferenceFactory();
  145. virtual void setReferenceFactory(::org::omg::PortableInterceptor::ObjectReferenceFactory *);
  146. virtual ::org::omg::CORBA::Object * make_object(::java::lang::String *, JArray< jbyte > *);
  147. virtual JArray< ::java::lang::String * > * _truncatable_ids();
  148. private:
  149. static const jlong serialVersionUID = 1LL;
  150. public: // actually package-private
  151. ::org::omg::PortableInterceptor::ObjectReferenceTemplate * __attribute__((aligned(__alignof__( ::org::omg::CORBA::LocalObject)))) refTemplate;
  152. static JArray< ::java::lang::String * > * ref_template_ids;
  153. public:
  154. ::gnu::CORBA::Poa::AOM * aom;
  155. public: // actually package-private
  156. ::java::util::ArrayList * children;
  157. ::java::lang::String * name;
  158. ::org::omg::PortableServer::POA * parent;
  159. static const jint SIGNATURE = 1718773093;
  160. ::org::omg::PortableServer::AdapterActivator * m_activator;
  161. ::org::omg::PortableServer::POAManager * m_manager;
  162. ::org::omg::PortableServer::ServantActivator * servant_activator;
  163. ::org::omg::PortableServer::ServantLocator * servant_locator;
  164. ::org::omg::PortableServer::Servant * default_servant;
  165. private:
  166. JArray< jbyte > * m_poa_id;
  167. ::java::util::HashSet * m_policies;
  168. public: // actually package-private
  169. JArray< ::org::omg::CORBA::Policy * > * s_policies;
  170. ::gnu::CORBA::Poa::ORB_1_4 * m_orb;
  171. jboolean m_inDestruction;
  172. public:
  173. jboolean retain_servant;
  174. public: // actually package-private
  175. ::org::omg::PortableInterceptor::ObjectReferenceFactory * m_object_factory;
  176. public:
  177. static ::java::lang::Class class$;
  178. };
  179. #endif // __gnu_CORBA_Poa_gnuPOA__