MBeanServerConnection (Java SE 20 & JDK 20) (original) (raw)

All Known Subinterfaces:

[MBeanServer](MBeanServer.html "interface in javax.management"), [MBeanServerForwarder](remote/MBeanServerForwarder.html "interface in javax.management.remote")


public interface MBeanServerConnection

This interface represents a way to talk to an MBean server, whether local or remote. The MBeanServer interface, representing a local MBean server, extends this interface.

Since:

1.5

void
Adds a listener to a registered MBean.
void
Adds a listener to a registered MBean.
Instantiates and registers an MBean in the MBean server.
Instantiates and registers an MBean in the MBean server.
Instantiates and registers an MBean in the MBean server.
Instantiates and registers an MBean in the MBean server.
Gets the value of a specific attribute of a named MBean.
Retrieves the values of several attributes of a named MBean.
Returns the default domain used for naming the MBean.
Returns the list of domains in which any MBean is currently registered.
Returns the number of MBeans registered in the MBean server.
This method discovers the attributes and operations that an MBean exposes for management.
Gets the ObjectInstance for a given MBean registered with the MBean server.
Invokes an operation on an MBean.
boolean
Returns true if the MBean specified is an instance of the specified class, false otherwise.
boolean
Checks whether an MBean, identified by its object name, is already registered with the MBean server.
Gets MBeans controlled by the MBean server.
Gets the names of MBeans controlled by the MBean server.
void
Removes a listener from a registered MBean.
void
Removes a listener from a registered MBean.
void
Removes a listener from a registered MBean.
void
Removes a listener from a registered MBean.
void
Sets the value of a specific attribute of a named MBean.
Sets the values of several attributes of a named MBean.
void
Unregisters an MBean from the MBean server.