com.sun.jdmk.discovery
Class DiscoveryResponse

java.lang.Object
  extended by com.sun.jdmk.discovery.DiscoveryResponse
All Implemented Interfaces:
java.io.Serializable

public class DiscoveryResponse
extends java.lang.Object
implements java.io.Serializable

The DiscoveryResponse is used by the DiscoveryClient class to represent the result of a discovery operation.

See Also:
DiscoveryClient, Serialized Form

Method Summary
 java.lang.String getHost()
          Returns the host name.
 java.lang.String getImplementationName()
          Returns the JMX implementation name (the name of the product corresponding to the agent).
 java.lang.String getImplementationVendor()
          Returns the JMX implementation vendor (the vendor of the product corresponding to the agent).
 java.lang.String getImplementationVersion()
          Returns the JMX implementation version (the version of the product corresponding to the agent).
 java.lang.String getMBeanServerId()
          Returns the identification of the MbeanServer.
 java.util.Hashtable getObjectList()
          Returns the list of communicators.
 javax.management.remote.JMXServiceURL[] getServerAddresses()
          Returns a list of connector server addresses, a server is one which is registered into an MBeanServer as JMXConnectorServerMBean, either a JMX Remote JMXConnectorServer or a Java DMK legacy one which is wrapped as a JMXConnectorServer.
 java.lang.String getSpecificationName()
          Returns the full name of the JMX specification implemented by the agent.
 java.lang.String getSpecificationVendor()
          Returns the vendor of the JMX specification implemented by the agent.
 java.lang.String getSpecificationVersion()
          Returns the version of the JMX specification implemented by the agent.
 byte[] getUserData()
          Returns a byte[] containing the additional information that the user added in the DiscoveryResponse.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHost

public java.lang.String getHost()
Returns the host name.

Returns:
the host name.

getMBeanServerId

public java.lang.String getMBeanServerId()
Returns the identification of the MbeanServer.

Returns:
the MbeanServer identification.

getSpecificationName

public java.lang.String getSpecificationName()
Returns the full name of the JMX specification implemented by the agent.

Returns:
the full name of the JMX specification implemented by the agent.

getSpecificationVersion

public java.lang.String getSpecificationVersion()
Returns the version of the JMX specification implemented by the agent.

Returns:
the version of the JMX specification implemented by the agent.

getSpecificationVendor

public java.lang.String getSpecificationVendor()
Returns the vendor of the JMX specification implemented by the agent.

Returns:
the vendor of the JMX specification implemented by the agent.

getImplementationName

public java.lang.String getImplementationName()
Returns the JMX implementation name (the name of the product corresponding to the agent).

Returns:
the JMX implementation name.

getImplementationVersion

public java.lang.String getImplementationVersion()
Returns the JMX implementation version (the version of the product corresponding to the agent).

Returns:
the JMX implementation version.

getImplementationVendor

public java.lang.String getImplementationVendor()
Returns the JMX implementation vendor (the vendor of the product corresponding to the agent).

Returns:
the JMX implementation vendor.

getObjectList

public java.util.Hashtable getObjectList()
Returns the list of communicators. It is an Hashtable. Keys are ObjectName and values are ConnectorAddress if its relevant. The method findMBeanServers sets this Hashtable to null.

Returns:
the list of communicators.

getUserData

public byte[] getUserData()
Returns a byte[] containing the additional information that the user added in the DiscoveryResponse. If no additional information has been added, this method returns null.

Returns:
user-specific information.

getServerAddresses

public javax.management.remote.JMXServiceURL[] getServerAddresses()
Returns a list of connector server addresses, a server is one which is registered into an MBeanServer as JMXConnectorServerMBean, either a JMX Remote JMXConnectorServer or a Java DMK legacy one which is wrapped as a JMXConnectorServer. A Java DMK legacy connector server registered as a legacy MBean (ex: RmiConnectorServerMBean) will not be included in this list.

Returns:
a list of connector server addresses.
Since:
Java DMK 5.1

Open Source build 01-ea
opendmk-1.0-b01-ea 2010.10.22_13:26:06_UTC

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.