Package org.jboss.remotingjmx
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 Summary
Modifier and TypeMethodDescriptionObtain the default MBeanServerConnection for when no parameters have been specified.getMBeanServer(Map<String, String> parameters) Obtain the MBeanServerConnection based on the provided parameters.
-
Method Details
-
getDefaultMBeanServer
MBeanServerConnection getDefaultMBeanServer()Obtain the default MBeanServerConnection for when no parameters have been specified.- Returns:
- The default MBeanServerConnection.
-
getMBeanServer
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.
-