org.objectweb.jonas.discovery
Interface DiscoveryServiceImplMBean
- All Known Implementing Classes:
- DiscoveryServiceImpl
public interface DiscoveryServiceImplMBean
Management interface for the discovery service
- Author:
- Adriana Danes
getMulticastAddress
java.lang.String getMulticastAddress()
- Returns:
- the multicast group IP address used by the discovery service
getMulticastPort
java.lang.String getMulticastPort()
- Returns:
- the multicast group port number used by the discovery service
getIsDiscoveryMaster
java.lang.Boolean getIsDiscoveryMaster()
- Returns:
- true if the current server is a discovery master
getDiscoveryProtocolVersion
java.lang.String getDiscoveryProtocolVersion()
- Returns:
- the discovery protocol version number
getDiscoveryTtl
java.lang.String getDiscoveryTtl()
- Returns:
- the time-to-live of the discovery multicast
startDiscoveryMaster
void startDiscoveryMaster()
throws javax.management.JMException
- Make this server a discovery master
- Throws:
javax.management.JMException
- a JMX exception occured when trying to make current server a discovery master