Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / gnu / javax / management / Server.h
blobeb396d72ad50a069532227c5512a7f6d4742732c
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_javax_management_Server__
5 #define __gnu_javax_management_Server__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace gnu
16 namespace javax
18 namespace management
20 class Server;
24 namespace javax
26 namespace management
28 class Attribute;
29 class AttributeList;
30 class MBeanInfo;
31 class MBeanServer;
32 class MBeanServerDelegate;
33 class NotificationFilter;
34 class NotificationListener;
35 class ObjectInstance;
36 class ObjectName;
37 class QueryExp;
38 namespace loading
40 class ClassLoaderRepository;
46 class gnu::javax::management::Server : public ::java::lang::Object
49 public:
50 Server(::java::lang::String *, ::javax::management::MBeanServer *, ::javax::management::MBeanServerDelegate *);
51 private:
52 void checkSecurity(::javax::management::ObjectName *, ::java::lang::String *, ::java::lang::String *);
53 ::java::lang::Object * getBean(::javax::management::ObjectName *);
54 public:
55 virtual void addNotificationListener(::javax::management::ObjectName *, ::javax::management::NotificationListener *, ::javax::management::NotificationFilter *, ::java::lang::Object *);
56 virtual void addNotificationListener(::javax::management::ObjectName *, ::javax::management::ObjectName *, ::javax::management::NotificationFilter *, ::java::lang::Object *);
57 virtual ::javax::management::ObjectInstance * createMBean(::java::lang::String *, ::javax::management::ObjectName *);
58 virtual ::javax::management::ObjectInstance * createMBean(::java::lang::String *, ::javax::management::ObjectName *, JArray< ::java::lang::Object * > *, JArray< ::java::lang::String * > *);
59 virtual ::javax::management::ObjectInstance * createMBean(::java::lang::String *, ::javax::management::ObjectName *, ::javax::management::ObjectName *);
60 virtual ::javax::management::ObjectInstance * createMBean(::java::lang::String *, ::javax::management::ObjectName *, ::javax::management::ObjectName *, JArray< ::java::lang::Object * > *, JArray< ::java::lang::String * > *);
61 virtual ::java::io::ObjectInputStream * deserialize(::javax::management::ObjectName *, JArray< jbyte > *);
62 virtual ::java::io::ObjectInputStream * deserialize(::java::lang::String *, JArray< jbyte > *);
63 virtual ::java::io::ObjectInputStream * deserialize(::java::lang::String *, ::javax::management::ObjectName *, JArray< jbyte > *);
64 virtual ::java::lang::Object * getAttribute(::javax::management::ObjectName *, ::java::lang::String *);
65 virtual ::javax::management::AttributeList * getAttributes(::javax::management::ObjectName *, JArray< ::java::lang::String * > *);
66 virtual ::java::lang::ClassLoader * getClassLoader(::javax::management::ObjectName *);
67 virtual ::java::lang::ClassLoader * getClassLoaderFor(::javax::management::ObjectName *);
68 virtual ::javax::management::loading::ClassLoaderRepository * getClassLoaderRepository();
69 virtual ::java::lang::String * getDefaultDomain();
70 virtual JArray< ::java::lang::String * > * getDomains();
71 virtual ::java::lang::Integer * getMBeanCount();
72 virtual ::javax::management::MBeanInfo * getMBeanInfo(::javax::management::ObjectName *);
73 virtual ::javax::management::ObjectInstance * getObjectInstance(::javax::management::ObjectName *);
74 virtual ::java::lang::Object * instantiate(::java::lang::String *);
75 virtual ::java::lang::Object * instantiate(::java::lang::String *, JArray< ::java::lang::Object * > *, JArray< ::java::lang::String * > *);
76 virtual ::java::lang::Object * instantiate(::java::lang::String *, ::javax::management::ObjectName *);
77 virtual ::java::lang::Object * instantiate(::java::lang::String *, ::javax::management::ObjectName *, JArray< ::java::lang::Object * > *, JArray< ::java::lang::String * > *);
78 virtual ::java::lang::Object * invoke(::javax::management::ObjectName *, ::java::lang::String *, JArray< ::java::lang::Object * > *, JArray< ::java::lang::String * > *);
79 virtual jboolean isInstanceOf(::javax::management::ObjectName *, ::java::lang::String *);
80 virtual jboolean isRegistered(::javax::management::ObjectName *);
81 virtual ::java::util::Set * queryMBeans(::javax::management::ObjectName *, ::javax::management::QueryExp *);
82 virtual ::java::util::Set * queryNames(::javax::management::ObjectName *, ::javax::management::QueryExp *);
83 virtual ::javax::management::ObjectInstance * registerMBean(::java::lang::Object *, ::javax::management::ObjectName *);
84 virtual void removeNotificationListener(::javax::management::ObjectName *, ::javax::management::NotificationListener *);
85 virtual void removeNotificationListener(::javax::management::ObjectName *, ::javax::management::NotificationListener *, ::javax::management::NotificationFilter *, ::java::lang::Object *);
86 virtual void removeNotificationListener(::javax::management::ObjectName *, ::javax::management::ObjectName *);
87 virtual void removeNotificationListener(::javax::management::ObjectName *, ::javax::management::ObjectName *, ::javax::management::NotificationFilter *, ::java::lang::Object *);
88 virtual void setAttribute(::javax::management::ObjectName *, ::javax::management::Attribute *);
89 virtual ::javax::management::AttributeList * setAttributes(::javax::management::ObjectName *, ::javax::management::AttributeList *);
90 virtual void unregisterMBean(::javax::management::ObjectName *);
91 private:
92 static ::javax::management::ObjectName * DELEGATE_NAME;
93 ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) beans;
94 ::java::lang::String * defaultDomain;
95 ::javax::management::MBeanServer * outer;
96 ::javax::management::loading::ClassLoaderRepository * repository;
97 ::java::util::Map * listeners;
98 public:
99 static ::java::lang::Class class$;
102 #endif // __gnu_javax_management_Server__