Registrator.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_CORBA_Interceptor_Registrator__
  3. #define __gnu_CORBA_Interceptor_Registrator__
  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 Interceptor
  14. {
  15. class Registrator;
  16. }
  17. namespace Poa
  18. {
  19. class ORB_1_4;
  20. }
  21. class gnuCodecFactory;
  22. }
  23. }
  24. namespace org
  25. {
  26. namespace omg
  27. {
  28. namespace CORBA
  29. {
  30. class Object;
  31. }
  32. namespace IOP
  33. {
  34. class CodecFactory;
  35. }
  36. namespace PortableInterceptor
  37. {
  38. class ClientRequestInterceptor;
  39. class IORInterceptor;
  40. class Interceptor;
  41. class PolicyFactory;
  42. class ServerRequestInterceptor;
  43. }
  44. }
  45. }
  46. }
  47. class gnu::CORBA::Interceptor::Registrator : public ::org::omg::CORBA::LocalObject
  48. {
  49. public:
  50. Registrator(::gnu::CORBA::Poa::ORB_1_4 *, ::java::util::Properties *, JArray< ::java::lang::String * > *);
  51. private:
  52. void checkProperties(::java::util::Properties *);
  53. void checkFile(::java::lang::String *, ::java::lang::String *);
  54. public:
  55. virtual void pre_init();
  56. virtual ::java::util::Map * getRegisteredReferences();
  57. virtual void post_init();
  58. virtual JArray< ::org::omg::PortableInterceptor::ServerRequestInterceptor * > * getServerRequestInterceptors();
  59. virtual JArray< ::org::omg::PortableInterceptor::ClientRequestInterceptor * > * getClientRequestInterceptors();
  60. virtual JArray< ::org::omg::PortableInterceptor::IORInterceptor * > * getIORInterceptors();
  61. virtual void add_client_request_interceptor(::org::omg::PortableInterceptor::ClientRequestInterceptor *);
  62. virtual void add_ior_interceptor(::org::omg::PortableInterceptor::IORInterceptor *);
  63. virtual void add_server_request_interceptor(::org::omg::PortableInterceptor::ServerRequestInterceptor *);
  64. virtual jint allocate_slot_id();
  65. private:
  66. void add(::java::util::ArrayList *, ::org::omg::PortableInterceptor::Interceptor *);
  67. public:
  68. virtual JArray< ::java::lang::String * > * arguments();
  69. virtual ::org::omg::IOP::CodecFactory * codec_factory();
  70. virtual ::java::lang::String * orb_id();
  71. virtual void register_initial_reference(::java::lang::String *, ::org::omg::CORBA::Object *);
  72. virtual void register_policy_factory(jint, ::org::omg::PortableInterceptor::PolicyFactory *);
  73. virtual ::org::omg::CORBA::Object * resolve_initial_references(::java::lang::String *);
  74. virtual jboolean hasClientRequestInterceptors();
  75. virtual jboolean hasServerRequestInterceptors();
  76. virtual jboolean hasIorInterceptors();
  77. private:
  78. static const jlong serialVersionUID = 1LL;
  79. public:
  80. static ::java::lang::String * m_prefix;
  81. private:
  82. ::java::util::ArrayList * __attribute__((aligned(__alignof__( ::org::omg::CORBA::LocalObject)))) m_server;
  83. ::java::util::ArrayList * m_client;
  84. ::java::util::ArrayList * m_ior;
  85. public:
  86. ::java::util::Hashtable * m_policyFactories;
  87. ::java::util::TreeMap * m_references;
  88. ::java::util::ArrayList * m_initializers;
  89. public: // actually package-private
  90. ::gnu::CORBA::Poa::ORB_1_4 * orb;
  91. JArray< ::java::lang::String * > * m_args;
  92. ::gnu::CORBA::gnuCodecFactory * m_codecFactory;
  93. public:
  94. static ::java::lang::Class class$;
  95. };
  96. #endif // __gnu_CORBA_Interceptor_Registrator__