Server.h 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_management_Server__
  3. #define __gnu_javax_management_Server__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace management
  14. {
  15. class Server;
  16. }
  17. }
  18. }
  19. namespace javax
  20. {
  21. namespace management
  22. {
  23. class Attribute;
  24. class AttributeList;
  25. class MBeanInfo;
  26. class MBeanServer;
  27. class MBeanServerDelegate;
  28. class NotificationFilter;
  29. class NotificationListener;
  30. class ObjectInstance;
  31. class ObjectName;
  32. class QueryExp;
  33. namespace loading
  34. {
  35. class ClassLoaderRepository;
  36. }
  37. }
  38. }
  39. }
  40. class gnu::javax::management::Server : public ::java::lang::Object
  41. {
  42. public:
  43. Server(::java::lang::String *, ::javax::management::MBeanServer *, ::javax::management::MBeanServerDelegate *);
  44. private:
  45. void checkSecurity(::javax::management::ObjectName *, ::java::lang::String *, ::java::lang::String *);
  46. ::java::lang::Object * getBean(::javax::management::ObjectName *);
  47. public:
  48. virtual void addNotificationListener(::javax::management::ObjectName *, ::javax::management::NotificationListener *, ::javax::management::NotificationFilter *, ::java::lang::Object *);
  49. virtual void addNotificationListener(::javax::management::ObjectName *, ::javax::management::ObjectName *, ::javax::management::NotificationFilter *, ::java::lang::Object *);
  50. virtual ::javax::management::ObjectInstance * createMBean(::java::lang::String *, ::javax::management::ObjectName *);
  51. virtual ::javax::management::ObjectInstance * createMBean(::java::lang::String *, ::javax::management::ObjectName *, JArray< ::java::lang::Object * > *, JArray< ::java::lang::String * > *);
  52. virtual ::javax::management::ObjectInstance * createMBean(::java::lang::String *, ::javax::management::ObjectName *, ::javax::management::ObjectName *);
  53. virtual ::javax::management::ObjectInstance * createMBean(::java::lang::String *, ::javax::management::ObjectName *, ::javax::management::ObjectName *, JArray< ::java::lang::Object * > *, JArray< ::java::lang::String * > *);
  54. virtual ::java::io::ObjectInputStream * deserialize(::javax::management::ObjectName *, JArray< jbyte > *);
  55. virtual ::java::io::ObjectInputStream * deserialize(::java::lang::String *, JArray< jbyte > *);
  56. virtual ::java::io::ObjectInputStream * deserialize(::java::lang::String *, ::javax::management::ObjectName *, JArray< jbyte > *);
  57. virtual ::java::lang::Object * getAttribute(::javax::management::ObjectName *, ::java::lang::String *);
  58. virtual ::javax::management::AttributeList * getAttributes(::javax::management::ObjectName *, JArray< ::java::lang::String * > *);
  59. virtual ::java::lang::ClassLoader * getClassLoader(::javax::management::ObjectName *);
  60. virtual ::java::lang::ClassLoader * getClassLoaderFor(::javax::management::ObjectName *);
  61. virtual ::javax::management::loading::ClassLoaderRepository * getClassLoaderRepository();
  62. virtual ::java::lang::String * getDefaultDomain();
  63. virtual JArray< ::java::lang::String * > * getDomains();
  64. virtual ::java::lang::Integer * getMBeanCount();
  65. virtual ::javax::management::MBeanInfo * getMBeanInfo(::javax::management::ObjectName *);
  66. virtual ::javax::management::ObjectInstance * getObjectInstance(::javax::management::ObjectName *);
  67. virtual ::java::lang::Object * instantiate(::java::lang::String *);
  68. virtual ::java::lang::Object * instantiate(::java::lang::String *, JArray< ::java::lang::Object * > *, JArray< ::java::lang::String * > *);
  69. virtual ::java::lang::Object * instantiate(::java::lang::String *, ::javax::management::ObjectName *);
  70. virtual ::java::lang::Object * instantiate(::java::lang::String *, ::javax::management::ObjectName *, JArray< ::java::lang::Object * > *, JArray< ::java::lang::String * > *);
  71. virtual ::java::lang::Object * invoke(::javax::management::ObjectName *, ::java::lang::String *, JArray< ::java::lang::Object * > *, JArray< ::java::lang::String * > *);
  72. virtual jboolean isInstanceOf(::javax::management::ObjectName *, ::java::lang::String *);
  73. virtual jboolean isRegistered(::javax::management::ObjectName *);
  74. virtual ::java::util::Set * queryMBeans(::javax::management::ObjectName *, ::javax::management::QueryExp *);
  75. virtual ::java::util::Set * queryNames(::javax::management::ObjectName *, ::javax::management::QueryExp *);
  76. virtual ::javax::management::ObjectInstance * registerMBean(::java::lang::Object *, ::javax::management::ObjectName *);
  77. virtual void removeNotificationListener(::javax::management::ObjectName *, ::javax::management::NotificationListener *);
  78. virtual void removeNotificationListener(::javax::management::ObjectName *, ::javax::management::NotificationListener *, ::javax::management::NotificationFilter *, ::java::lang::Object *);
  79. virtual void removeNotificationListener(::javax::management::ObjectName *, ::javax::management::ObjectName *);
  80. virtual void removeNotificationListener(::javax::management::ObjectName *, ::javax::management::ObjectName *, ::javax::management::NotificationFilter *, ::java::lang::Object *);
  81. virtual void setAttribute(::javax::management::ObjectName *, ::javax::management::Attribute *);
  82. virtual ::javax::management::AttributeList * setAttributes(::javax::management::ObjectName *, ::javax::management::AttributeList *);
  83. virtual void unregisterMBean(::javax::management::ObjectName *);
  84. private:
  85. void notify(::javax::management::ObjectName *, ::java::lang::String *);
  86. static ::javax::management::ObjectName * DELEGATE_NAME;
  87. ::java::util::concurrent::ConcurrentHashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) beans;
  88. ::java::lang::String * defaultDomain;
  89. ::javax::management::MBeanServer * outer;
  90. ::javax::management::loading::ClassLoaderRepository * repository;
  91. ::javax::management::MBeanServerDelegate * delegate;
  92. static ::java::util::concurrent::atomic::AtomicLong * sequenceNumber;
  93. public:
  94. static ::java::lang::Class class$;
  95. };
  96. #endif // __gnu_javax_management_Server__