org.objectweb.petals.tools.webadmin.mbean
Class StorageAdminService
java.lang.Object
org.objectweb.petals.tools.webadmin.mbean.StorageAdminService
- All Implemented Interfaces:
- StorageAdminServiceMBean
public class StorageAdminService
- extends java.lang.Object
- implements StorageAdminServiceMBean
Method Summary |
boolean |
getPing()
|
boolean |
initComponentsMBean(javax.management.ObjectName mBeanName,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>> serversComponents)
Initialize a ComponentsList MBean with a name and a set of components. |
boolean |
initServersMBean(javax.management.ObjectName mBeanName,
java.util.List<java.util.Map<java.lang.String,java.lang.String>> serversList)
Initialize a ServersList MBean, containing connections informations for a
set of servers. |
boolean |
initTimeDatasMBean(javax.management.ObjectName mBeanName,
java.util.Map<java.lang.String,java.util.Map<java.lang.Long,java.lang.Long>> datasets)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageAdminService
public StorageAdminService(javax.management.MBeanServer jmxServer)
throws java.io.IOException
- Throws:
java.io.IOException
getPing
public boolean getPing()
- Specified by:
getPing
in interface StorageAdminServiceMBean
initComponentsMBean
public boolean initComponentsMBean(javax.management.ObjectName mBeanName,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>> serversComponents)
throws javax.management.MBeanException
- Initialize a ComponentsList MBean with a name and a set of components.
If MBean is already registered, his "components" attribute is set to new
value.
- Specified by:
initComponentsMBean
in interface StorageAdminServiceMBean
- Parameters:
mBeanName
- the name to associate to the MBeanserversComponents
- the set of components
- Throws:
javax.management.MBeanException
initServersMBean
public boolean initServersMBean(javax.management.ObjectName mBeanName,
java.util.List<java.util.Map<java.lang.String,java.lang.String>> serversList)
throws javax.management.MBeanException
- Initialize a ServersList MBean, containing connections informations for a
set of servers.
If MBean is already registered, the list of servers is initialized to new
value
- Specified by:
initServersMBean
in interface StorageAdminServiceMBean
- Parameters:
mBeanName
- the name to associate with the MBeanserversList
- the new list of connections informations
- Throws:
javax.management.MBeanException
initTimeDatasMBean
public boolean initTimeDatasMBean(javax.management.ObjectName mBeanName,
java.util.Map<java.lang.String,java.util.Map<java.lang.Long,java.lang.Long>> datasets)
throws javax.management.MBeanException
- Specified by:
initTimeDatasMBean
in interface StorageAdminServiceMBean
- Throws:
javax.management.MBeanException
Copyright © 2005-2007 ObjectWeb Consortium. All Rights Reserved.