summaryrefslogtreecommitdiff
path: root/libjava/javax/naming/event
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/naming/event')
-rw-r--r--libjava/javax/naming/event/EventContext.h72
-rw-r--r--libjava/javax/naming/event/EventDirContext.h108
-rw-r--r--libjava/javax/naming/event/NamespaceChangeListener.h37
-rw-r--r--libjava/javax/naming/event/NamingEvent.h54
-rw-r--r--libjava/javax/naming/event/NamingExceptionEvent.h42
-rw-r--r--libjava/javax/naming/event/NamingListener.h33
-rw-r--r--libjava/javax/naming/event/ObjectChangeListener.h35
7 files changed, 381 insertions, 0 deletions
diff --git a/libjava/javax/naming/event/EventContext.h b/libjava/javax/naming/event/EventContext.h
new file mode 100644
index 000000000..3fbbfc2a5
--- /dev/null
+++ b/libjava/javax/naming/event/EventContext.h
@@ -0,0 +1,72 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_naming_event_EventContext__
+#define __javax_naming_event_EventContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace naming
+ {
+ class Context;
+ class Name;
+ class NameParser;
+ class NamingEnumeration;
+ namespace event
+ {
+ class EventContext;
+ class NamingListener;
+ }
+ }
+ }
+}
+
+class javax::naming::event::EventContext : public ::java::lang::Object
+{
+
+public:
+ virtual void addNamingListener(::javax::naming::Name *, jint, ::javax::naming::event::NamingListener *) = 0;
+ virtual void addNamingListener(::java::lang::String *, jint, ::javax::naming::event::NamingListener *) = 0;
+ virtual void removeNamingListener(::javax::naming::event::NamingListener *) = 0;
+ virtual jboolean targetMustExist() = 0;
+ virtual void bind(::javax::naming::Name *, ::java::lang::Object *) = 0;
+ virtual void bind(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * lookup(::javax::naming::Name *) = 0;
+ virtual ::java::lang::Object * lookup(::java::lang::String *) = 0;
+ virtual void rebind(::javax::naming::Name *, ::java::lang::Object *) = 0;
+ virtual void rebind(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual void unbind(::javax::naming::Name *) = 0;
+ virtual void unbind(::java::lang::String *) = 0;
+ virtual void rename(::javax::naming::Name *, ::javax::naming::Name *) = 0;
+ virtual void rename(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::javax::naming::NamingEnumeration * list(::javax::naming::Name *) = 0;
+ virtual ::javax::naming::NamingEnumeration * list(::java::lang::String *) = 0;
+ virtual ::javax::naming::NamingEnumeration * listBindings(::javax::naming::Name *) = 0;
+ virtual ::javax::naming::NamingEnumeration * listBindings(::java::lang::String *) = 0;
+ virtual ::javax::naming::Context * createSubcontext(::javax::naming::Name *) = 0;
+ virtual ::javax::naming::Context * createSubcontext(::java::lang::String *) = 0;
+ virtual void destroySubcontext(::javax::naming::Name *) = 0;
+ virtual void destroySubcontext(::java::lang::String *) = 0;
+ virtual ::java::lang::Object * lookupLink(::javax::naming::Name *) = 0;
+ virtual ::java::lang::Object * lookupLink(::java::lang::String *) = 0;
+ virtual ::javax::naming::NameParser * getNameParser(::javax::naming::Name *) = 0;
+ virtual ::javax::naming::NameParser * getNameParser(::java::lang::String *) = 0;
+ virtual ::javax::naming::Name * composeName(::javax::naming::Name *, ::javax::naming::Name *) = 0;
+ virtual ::java::lang::String * composeName(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::lang::Object * addToEnvironment(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * removeFromEnvironment(::java::lang::String *) = 0;
+ virtual ::java::util::Hashtable * getEnvironment() = 0;
+ virtual void close() = 0;
+ virtual ::java::lang::String * getNameInNamespace() = 0;
+ static const jint OBJECT_SCOPE = 0;
+ static const jint ONELEVEL_SCOPE = 1;
+ static const jint SUBTREE_SCOPE = 2;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_naming_event_EventContext__
diff --git a/libjava/javax/naming/event/EventDirContext.h b/libjava/javax/naming/event/EventDirContext.h
new file mode 100644
index 000000000..2efa0c284
--- /dev/null
+++ b/libjava/javax/naming/event/EventDirContext.h
@@ -0,0 +1,108 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_naming_event_EventDirContext__
+#define __javax_naming_event_EventDirContext__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace naming
+ {
+ class Context;
+ class Name;
+ class NameParser;
+ class NamingEnumeration;
+ namespace directory
+ {
+ class Attributes;
+ class DirContext;
+ class ModificationItem;
+ class SearchControls;
+ }
+ namespace event
+ {
+ class EventDirContext;
+ class NamingListener;
+ }
+ }
+ }
+}
+
+class javax::naming::event::EventDirContext : public ::java::lang::Object
+{
+
+public:
+ virtual void addNamingListener(::javax::naming::Name *, ::java::lang::String *, ::javax::naming::directory::SearchControls *, ::javax::naming::event::NamingListener *) = 0;
+ virtual void addNamingListener(::java::lang::String *, ::java::lang::String *, ::javax::naming::directory::SearchControls *, ::javax::naming::event::NamingListener *) = 0;
+ virtual void addNamingListener(::javax::naming::Name *, ::java::lang::String *, JArray< ::java::lang::Object * > *, ::javax::naming::directory::SearchControls *, ::javax::naming::event::NamingListener *) = 0;
+ virtual void addNamingListener(::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::Object * > *, ::javax::naming::directory::SearchControls *, ::javax::naming::event::NamingListener *) = 0;
+ virtual void addNamingListener(::javax::naming::Name *, jint, ::javax::naming::event::NamingListener *) = 0;
+ virtual void addNamingListener(::java::lang::String *, jint, ::javax::naming::event::NamingListener *) = 0;
+ virtual void removeNamingListener(::javax::naming::event::NamingListener *) = 0;
+ virtual jboolean targetMustExist() = 0;
+ virtual void bind(::javax::naming::Name *, ::java::lang::Object *) = 0;
+ virtual void bind(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * lookup(::javax::naming::Name *) = 0;
+ virtual ::java::lang::Object * lookup(::java::lang::String *) = 0;
+ virtual void rebind(::javax::naming::Name *, ::java::lang::Object *) = 0;
+ virtual void rebind(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual void unbind(::javax::naming::Name *) = 0;
+ virtual void unbind(::java::lang::String *) = 0;
+ virtual void rename(::javax::naming::Name *, ::javax::naming::Name *) = 0;
+ virtual void rename(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::javax::naming::NamingEnumeration * list(::javax::naming::Name *) = 0;
+ virtual ::javax::naming::NamingEnumeration * list(::java::lang::String *) = 0;
+ virtual ::javax::naming::NamingEnumeration * listBindings(::javax::naming::Name *) = 0;
+ virtual ::javax::naming::NamingEnumeration * listBindings(::java::lang::String *) = 0;
+ virtual ::javax::naming::Context * createSubcontext(::javax::naming::Name *) = 0;
+ virtual ::javax::naming::Context * createSubcontext(::java::lang::String *) = 0;
+ virtual void destroySubcontext(::javax::naming::Name *) = 0;
+ virtual void destroySubcontext(::java::lang::String *) = 0;
+ virtual ::java::lang::Object * lookupLink(::javax::naming::Name *) = 0;
+ virtual ::java::lang::Object * lookupLink(::java::lang::String *) = 0;
+ virtual ::javax::naming::NameParser * getNameParser(::javax::naming::Name *) = 0;
+ virtual ::javax::naming::NameParser * getNameParser(::java::lang::String *) = 0;
+ virtual ::javax::naming::Name * composeName(::javax::naming::Name *, ::javax::naming::Name *) = 0;
+ virtual ::java::lang::String * composeName(::java::lang::String *, ::java::lang::String *) = 0;
+ virtual ::java::lang::Object * addToEnvironment(::java::lang::String *, ::java::lang::Object *) = 0;
+ virtual ::java::lang::Object * removeFromEnvironment(::java::lang::String *) = 0;
+ virtual ::java::util::Hashtable * getEnvironment() = 0;
+ virtual void close() = 0;
+ virtual ::java::lang::String * getNameInNamespace() = 0;
+ virtual ::javax::naming::directory::Attributes * getAttributes(::java::lang::String *) = 0;
+ virtual ::javax::naming::directory::Attributes * getAttributes(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
+ virtual ::javax::naming::directory::Attributes * getAttributes(::javax::naming::Name *) = 0;
+ virtual ::javax::naming::directory::Attributes * getAttributes(::javax::naming::Name *, JArray< ::java::lang::String * > *) = 0;
+ virtual void modifyAttributes(::javax::naming::Name *, jint, ::javax::naming::directory::Attributes *) = 0;
+ virtual void modifyAttributes(::java::lang::String *, jint, ::javax::naming::directory::Attributes *) = 0;
+ virtual void modifyAttributes(::javax::naming::Name *, JArray< ::javax::naming::directory::ModificationItem * > *) = 0;
+ virtual void modifyAttributes(::java::lang::String *, JArray< ::javax::naming::directory::ModificationItem * > *) = 0;
+ virtual void bind(::javax::naming::Name *, ::java::lang::Object *, ::javax::naming::directory::Attributes *) = 0;
+ virtual void bind(::java::lang::String *, ::java::lang::Object *, ::javax::naming::directory::Attributes *) = 0;
+ virtual void rebind(::javax::naming::Name *, ::java::lang::Object *, ::javax::naming::directory::Attributes *) = 0;
+ virtual void rebind(::java::lang::String *, ::java::lang::Object *, ::javax::naming::directory::Attributes *) = 0;
+ virtual ::javax::naming::directory::DirContext * createSubcontext(::javax::naming::Name *, ::javax::naming::directory::Attributes *) = 0;
+ virtual ::javax::naming::directory::DirContext * createSubcontext(::java::lang::String *, ::javax::naming::directory::Attributes *) = 0;
+ virtual ::javax::naming::directory::DirContext * getSchema(::javax::naming::Name *) = 0;
+ virtual ::javax::naming::directory::DirContext * getSchema(::java::lang::String *) = 0;
+ virtual ::javax::naming::directory::DirContext * getSchemaClassDefinition(::javax::naming::Name *) = 0;
+ virtual ::javax::naming::directory::DirContext * getSchemaClassDefinition(::java::lang::String *) = 0;
+ virtual ::javax::naming::NamingEnumeration * search(::javax::naming::Name *, ::javax::naming::directory::Attributes *, JArray< ::java::lang::String * > *) = 0;
+ virtual ::javax::naming::NamingEnumeration * search(::java::lang::String *, ::javax::naming::directory::Attributes *, JArray< ::java::lang::String * > *) = 0;
+ virtual ::javax::naming::NamingEnumeration * search(::javax::naming::Name *, ::javax::naming::directory::Attributes *) = 0;
+ virtual ::javax::naming::NamingEnumeration * search(::java::lang::String *, ::javax::naming::directory::Attributes *) = 0;
+ virtual ::javax::naming::NamingEnumeration * search(::javax::naming::Name *, ::java::lang::String *, ::javax::naming::directory::SearchControls *) = 0;
+ virtual ::javax::naming::NamingEnumeration * search(::java::lang::String *, ::java::lang::String *, ::javax::naming::directory::SearchControls *) = 0;
+ virtual ::javax::naming::NamingEnumeration * search(::javax::naming::Name *, ::java::lang::String *, JArray< ::java::lang::Object * > *, ::javax::naming::directory::SearchControls *) = 0;
+ virtual ::javax::naming::NamingEnumeration * search(::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::Object * > *, ::javax::naming::directory::SearchControls *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_naming_event_EventDirContext__
diff --git a/libjava/javax/naming/event/NamespaceChangeListener.h b/libjava/javax/naming/event/NamespaceChangeListener.h
new file mode 100644
index 000000000..e34f18632
--- /dev/null
+++ b/libjava/javax/naming/event/NamespaceChangeListener.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_naming_event_NamespaceChangeListener__
+#define __javax_naming_event_NamespaceChangeListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace naming
+ {
+ namespace event
+ {
+ class NamespaceChangeListener;
+ class NamingEvent;
+ class NamingExceptionEvent;
+ }
+ }
+ }
+}
+
+class javax::naming::event::NamespaceChangeListener : public ::java::lang::Object
+{
+
+public:
+ virtual void objectAdded(::javax::naming::event::NamingEvent *) = 0;
+ virtual void objectRemoved(::javax::naming::event::NamingEvent *) = 0;
+ virtual void objectRenamed(::javax::naming::event::NamingEvent *) = 0;
+ virtual void namingExceptionThrown(::javax::naming::event::NamingExceptionEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_naming_event_NamespaceChangeListener__
diff --git a/libjava/javax/naming/event/NamingEvent.h b/libjava/javax/naming/event/NamingEvent.h
new file mode 100644
index 000000000..aad8b0e05
--- /dev/null
+++ b/libjava/javax/naming/event/NamingEvent.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_naming_event_NamingEvent__
+#define __javax_naming_event_NamingEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace naming
+ {
+ class Binding;
+ namespace event
+ {
+ class EventContext;
+ class NamingEvent;
+ class NamingListener;
+ }
+ }
+ }
+}
+
+class javax::naming::event::NamingEvent : public ::java::util::EventObject
+{
+
+public:
+ NamingEvent(::javax::naming::event::EventContext *, jint, ::javax::naming::Binding *, ::javax::naming::Binding *, ::java::lang::Object *);
+ virtual jint getType();
+ virtual ::javax::naming::event::EventContext * getEventContext();
+ virtual ::javax::naming::Binding * getOldBinding();
+ virtual ::javax::naming::Binding * getNewBinding();
+ virtual ::java::lang::Object * getChangeInfo();
+ virtual void dispatch(::javax::naming::event::NamingListener *);
+private:
+ static const jlong serialVersionUID = -7126752885365133499LL;
+public:
+ static const jint OBJECT_ADDED = 0;
+ static const jint OBJECT_REMOVED = 1;
+ static const jint OBJECT_RENAMED = 2;
+ static const jint OBJECT_CHANGED = 3;
+public: // actually protected
+ ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) changeInfo;
+ jint type;
+ ::javax::naming::Binding * oldBinding;
+ ::javax::naming::Binding * newBinding;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_naming_event_NamingEvent__
diff --git a/libjava/javax/naming/event/NamingExceptionEvent.h b/libjava/javax/naming/event/NamingExceptionEvent.h
new file mode 100644
index 000000000..9aee3c513
--- /dev/null
+++ b/libjava/javax/naming/event/NamingExceptionEvent.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_naming_event_NamingExceptionEvent__
+#define __javax_naming_event_NamingExceptionEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace naming
+ {
+ class NamingException;
+ namespace event
+ {
+ class EventContext;
+ class NamingExceptionEvent;
+ class NamingListener;
+ }
+ }
+ }
+}
+
+class javax::naming::event::NamingExceptionEvent : public ::java::util::EventObject
+{
+
+public:
+ NamingExceptionEvent(::javax::naming::event::EventContext *, ::javax::naming::NamingException *);
+ virtual ::javax::naming::NamingException * getException();
+ virtual ::javax::naming::event::EventContext * getEventContext();
+ virtual void dispatch(::javax::naming::event::NamingListener *);
+private:
+ static const jlong serialVersionUID = -4877678086134736336LL;
+ ::javax::naming::NamingException * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) exception;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_naming_event_NamingExceptionEvent__
diff --git a/libjava/javax/naming/event/NamingListener.h b/libjava/javax/naming/event/NamingListener.h
new file mode 100644
index 000000000..d7eb00343
--- /dev/null
+++ b/libjava/javax/naming/event/NamingListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_naming_event_NamingListener__
+#define __javax_naming_event_NamingListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace naming
+ {
+ namespace event
+ {
+ class NamingExceptionEvent;
+ class NamingListener;
+ }
+ }
+ }
+}
+
+class javax::naming::event::NamingListener : public ::java::lang::Object
+{
+
+public:
+ virtual void namingExceptionThrown(::javax::naming::event::NamingExceptionEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_naming_event_NamingListener__
diff --git a/libjava/javax/naming/event/ObjectChangeListener.h b/libjava/javax/naming/event/ObjectChangeListener.h
new file mode 100644
index 000000000..eaff319df
--- /dev/null
+++ b/libjava/javax/naming/event/ObjectChangeListener.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_naming_event_ObjectChangeListener__
+#define __javax_naming_event_ObjectChangeListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace naming
+ {
+ namespace event
+ {
+ class NamingEvent;
+ class NamingExceptionEvent;
+ class ObjectChangeListener;
+ }
+ }
+ }
+}
+
+class javax::naming::event::ObjectChangeListener : public ::java::lang::Object
+{
+
+public:
+ virtual void objectChanged(::javax::naming::event::NamingEvent *) = 0;
+ virtual void namingExceptionThrown(::javax::naming::event::NamingExceptionEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_naming_event_ObjectChangeListener__