diff options
author | Andrew Haley <aph@gcc.gnu.org> | 2007-05-03 18:38:37 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2007-05-03 18:38:37 +0000 |
commit | 45b88fa2c448c1f2482b51412b5305939a7eb598 (patch) | |
tree | 78b2eed7a0418a7dd3e99d8bc7cb9c77d0a2dec8 /libjava | |
parent | e152672004efc3e0fd48899d610e67676f7b8448 (diff) | |
download | gcc-45b88fa2c448c1f2482b51412b5305939a7eb598.zip gcc-45b88fa2c448c1f2482b51412b5305939a7eb598.tar.gz gcc-45b88fa2c448c1f2482b51412b5305939a7eb598.tar.bz2 |
Server.java (Server): Record the delegate.
2007-05-03 Andrew Haley <aph@redhat.com>
* gnu/javax/management/Server.java (Server): Record the delegate.
(registerMBean): Notify the delegate.
(unregisterMBean): Likewise.
(notify): New method.
From-SVN: r124386
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/gnu/javax/management/Server.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/gnu/javax/management/Server.h b/libjava/gnu/javax/management/Server.h index eb396d7..2d94956 100644 --- a/libjava/gnu/javax/management/Server.h +++ b/libjava/gnu/javax/management/Server.h @@ -89,12 +89,15 @@ public: virtual ::javax::management::AttributeList * setAttributes(::javax::management::ObjectName *, ::javax::management::AttributeList *); virtual void unregisterMBean(::javax::management::ObjectName *); private: + void notify(::javax::management::ObjectName *, ::java::lang::String *); static ::javax::management::ObjectName * DELEGATE_NAME; ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) beans; ::java::lang::String * defaultDomain; ::javax::management::MBeanServer * outer; ::javax::management::loading::ClassLoaderRepository * repository; ::java::util::Map * listeners; + ::javax::management::MBeanServerDelegate * delegate; + static ::java::util::concurrent::atomic::AtomicLong * sequenceNumber; public: static ::java::lang::Class class$; }; |