org.rhq.enterprise.communications.command.server.discovery
Interface AutoDiscoveryMBean

All Known Implementing Classes:
AutoDiscovery

public interface AutoDiscoveryMBean

JMX interface to the AutoDiscovery MBean.

Author:
John Mazzitelli

Method Summary
 String getNetworkRegistryName()
          Returns the JMX ObjectName of the Network Registry that is used to perform auto-discovery.
 void setNetworkRegistryName(String name)
          Sets the name (in String form of a JMX ObjectName) of the Network Registry that is used to perform auto-discovery and begins listeningn to it.
 

Method Detail

getNetworkRegistryName

String getNetworkRegistryName()
Returns the JMX ObjectName of the Network Registry that is used to perform auto-discovery.

Returns:
name of Network Registry MBean

setNetworkRegistryName

void setNetworkRegistryName(String name)
Sets the name (in String form of a JMX ObjectName) of the Network Registry that is used to perform auto-discovery and begins listeningn to it. The caller must know what it is doing - this must be the name the Network Registry is registered as, otherwise, auto-discovery will fail.

Note that if this object is already listening to a Network Registry, it will be unregistered before setting the name.

Parameters:
name - name the registered name of the Network Registry MBean


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.