Package org.jboss.remotingjmx
Interface MBeanServerLocator
-
public interface MBeanServerLocatorThe 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MBeanServerConnectiongetDefaultMBeanServer()Obtain the default MBeanServerConnection for when no parameters have been specified.MBeanServerConnectiongetMBeanServer(Map<String,String> parameters)Obtain the MBeanServerConnection based on the provided parameters.
-
-
-
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.
-
-