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