Spec-Zone .ru
спецификации, руководства, описания, API
Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b76

javax.management.namespace
Interface JMXNamespaceMBean

All Known Subinterfaces:
JMXRemoteNamespaceMBean
All Known Implementing Classes:
JMXDomain, JMXNamespace, JMXRemoteNamespace

public interface JMXNamespaceMBean

A JMXNamespace is an MBean that handles a name space in the MBeanServer hierarchical name space.

Since:
1.7
See Also:
JMXNamespace

Method Summary
Modifier and Type Method and Description
 String getDefaultDomain()
          Returns the default domain for the name space handled by this JMXNamespace.
 String[] getDomains()
          Returns the list of domains currently implemented in the name space handled by this JMXNamespace.
 Integer getMBeanCount()
          Returns the number of MBeans registered in the name space handled by this JMXNamespace.
 String getUUID()
          Returns a UUID string which uniquely identifies this JMXNamespace MBean.
 

Method Detail

getDomains

String[] getDomains()
                    throws IOException
Returns the list of domains currently implemented in the name space handled by this JMXNamespace.

Returns:
the list of domains currently implemented in the name space handled by this JMXNamespace.
Throws:
IOException - if the domain list cannot be obtained due to I/O problems (communication failures etc...).
See Also:
MBeanServerConnection.getDomains

getDefaultDomain

String getDefaultDomain()
                        throws IOException
Returns the default domain for the name space handled by this JMXNamespace.

Returns:
the default domain for the name space handled by this JMXNamespace.
Throws:
IOException - if the default domain cannot be obtained due to I/O problems (communication failures etc...).
See Also:
MBeanServerConnection.getDefaultDomain

getMBeanCount

Integer getMBeanCount()
                      throws IOException
Returns the number of MBeans registered in the name space handled by this JMXNamespace.

Returns:
the number of MBeans registered in the name space handled by this JMXNamespace.
Throws:
IOException - if the MBean count cannot be obtained due to I/O problems (communication failures etc...).
See Also:
MBeanServerConnection.getMBeanCount

getUUID

String getUUID()
               throws IOException
Returns a UUID string which uniquely identifies this JMXNamespace MBean. This information can be used to detect loops in the JMX name space graph.

Returns:
A unique ID identifying this MBean.
Throws:
IOException - if the MBean UUID cannot be obtained due to I/O problems (communication failures etc...).

Java™ Platform
Standard Ed. 7

DRAFT ea-b76

Submit a bug or feature

Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.

free hit counter