InitialContext.h 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_naming_InitialContext__
  3. #define __javax_naming_InitialContext__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace javax
  10. {
  11. namespace naming
  12. {
  13. class Context;
  14. class InitialContext;
  15. class Name;
  16. class NameParser;
  17. class NamingEnumeration;
  18. }
  19. }
  20. }
  21. class javax::naming::InitialContext : public ::java::lang::Object
  22. {
  23. public:
  24. InitialContext(::java::util::Hashtable *);
  25. public: // actually protected
  26. InitialContext(jboolean);
  27. public:
  28. InitialContext();
  29. public: // actually protected
  30. virtual void init(::java::util::Hashtable *);
  31. public: // actually package-private
  32. static void merge(::java::util::Hashtable *, ::java::util::Hashtable *);
  33. public: // actually protected
  34. virtual ::javax::naming::Context * getDefaultInitCtx();
  35. virtual ::javax::naming::Context * getURLOrDefaultInitCtx(::javax::naming::Name *);
  36. virtual ::javax::naming::Context * getURLOrDefaultInitCtx(::java::lang::String *);
  37. public:
  38. virtual void bind(::javax::naming::Name *, ::java::lang::Object *);
  39. virtual void bind(::java::lang::String *, ::java::lang::Object *);
  40. virtual ::java::lang::Object * lookup(::javax::naming::Name *);
  41. virtual ::java::lang::Object * lookup(::java::lang::String *);
  42. virtual void rebind(::javax::naming::Name *, ::java::lang::Object *);
  43. virtual void rebind(::java::lang::String *, ::java::lang::Object *);
  44. virtual void unbind(::javax::naming::Name *);
  45. virtual void unbind(::java::lang::String *);
  46. virtual void rename(::javax::naming::Name *, ::javax::naming::Name *);
  47. virtual void rename(::java::lang::String *, ::java::lang::String *);
  48. virtual ::javax::naming::NamingEnumeration * list(::javax::naming::Name *);
  49. virtual ::javax::naming::NamingEnumeration * list(::java::lang::String *);
  50. virtual ::javax::naming::NamingEnumeration * listBindings(::javax::naming::Name *);
  51. virtual ::javax::naming::NamingEnumeration * listBindings(::java::lang::String *);
  52. virtual void destroySubcontext(::javax::naming::Name *);
  53. virtual void destroySubcontext(::java::lang::String *);
  54. virtual ::javax::naming::Context * createSubcontext(::javax::naming::Name *);
  55. virtual ::javax::naming::Context * createSubcontext(::java::lang::String *);
  56. virtual ::java::lang::Object * lookupLink(::javax::naming::Name *);
  57. virtual ::java::lang::Object * lookupLink(::java::lang::String *);
  58. virtual ::javax::naming::NameParser * getNameParser(::javax::naming::Name *);
  59. virtual ::javax::naming::NameParser * getNameParser(::java::lang::String *);
  60. virtual ::javax::naming::Name * composeName(::javax::naming::Name *, ::javax::naming::Name *);
  61. virtual ::java::lang::String * composeName(::java::lang::String *, ::java::lang::String *);
  62. virtual ::java::lang::Object * addToEnvironment(::java::lang::String *, ::java::lang::Object *);
  63. virtual ::java::lang::Object * removeFromEnvironment(::java::lang::String *);
  64. virtual ::java::util::Hashtable * getEnvironment();
  65. virtual void close();
  66. virtual ::java::lang::String * getNameInNamespace();
  67. public: // actually protected
  68. ::javax::naming::Context * __attribute__((aligned(__alignof__( ::java::lang::Object)))) defaultInitCtx;
  69. jboolean gotDefault;
  70. ::java::util::Hashtable * myProps;
  71. public: // actually package-private
  72. static ::java::util::HashSet * colon_list;
  73. static JArray< ::java::lang::String * > * use_properties;
  74. public:
  75. static ::java::lang::Class class$;
  76. };
  77. #endif // __javax_naming_InitialContext__