Interface MBeanServerLocator


  • public interface MBeanServerLocator
    The interface to be implemented for providing access to the MBeanServers. The result of the method calls may be cached, this is especially true if the returned MBeanServerConnection is actually an MBeanServer.
    Author:
    Darran Lofthouse
    • Method Detail

      • getDefaultMBeanServer

        MBeanServerConnection getDefaultMBeanServer()
        Obtain the default MBeanServerConnection for when no parameters have been specified.
        Returns:
        The default MBeanServerConnection.
      • getMBeanServer

        MBeanServerConnection getMBeanServer​(Map<String,​String> parameters)
        Obtain the MBeanServerConnection based on the provided parameters.
        Parameters:
        parameters - - The connection parameters from the remote client.
        Returns:
        The MBeanServerConnection based on the provided parameters, or null if no MBeanServerConnection selected.