java.lang.Object | |
↳ | sun.tools.jconsole.ProxyClient |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ProxyClient.Snapshot | |||||||||||
ProxyClient.SnapshotMBeanServerConnection |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a
PropertyChangeListener
to the listener list. | |||||||||||
Returns a list of attributes of a named MBean.
| |||||||||||
Returns the current connection state.
| |||||||||||
Returns the list of domains in which any MBean is
currently registered.
| |||||||||||
Returns the
MBeanServerConnection for the
connection to an application. | |||||||||||
Returns a map of MBeans with ObjectName as the key and MBeanInfo value
of a given domain.
| |||||||||||
Gets a proxy client for a given local virtual machine.
| |||||||||||
Gets a proxy client for a given JMXServiceURL.
| |||||||||||
Gets a proxy client for a given "hostname:port".
| |||||||||||
Invokes an operation of a named MBean.
| |||||||||||
Returns true if the underlying RMI registry is SSL-protected.
| |||||||||||
Returns true if the retrieved RMI stub is SSL-protected.
| |||||||||||
Returns true if this
ProxyClient denotes
a JMX connector for a JMX VM agent. | |||||||||||
Removes a
PropertyChangeListener
from the listener list. | |||||||||||
Set the value of a specific attribute of a named MBean.
| |||||||||||
Returns a string representation of the object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Add a PropertyChangeListener
to the listener list.
The listener is registered for all properties.
The same listener object may be added more than once, and will be called
as many times as it is added.
If listener
is null
, no exception is thrown and
no action is taken.
listener | The PropertyChangeListener to be added
|
---|
Returns a list of attributes of a named MBean.
IOException |
---|
Returns the current connection state.
Returns the list of domains in which any MBean is currently registered.
IOException |
---|
IOException |
---|
Returns the MBeanServerConnection
for the
connection to an application. The returned
MBeanServerConnection
object becomes invalid when
the connection state is changed to the
DISCONNECTED
state.
MBeanServerConnection
for the
connection to an application.
Returns a map of MBeans with ObjectName as the key and MBeanInfo value of a given domain. If domain is null, all MBeans are returned. If no MBean found, an empty map is returned.
IOException |
---|
Gets a proxy client for a given local virtual machine.
IOException |
---|
Gets a proxy client for a given JMXServiceURL.
IOException |
---|
Gets a proxy client for a given "hostname:port".
IOException |
---|
Invokes an operation of a named MBean.
MBeanException | Wraps an exception thrown by the MBean's invoked method. |
---|---|
IOException |
Returns true if the underlying RMI registry is SSL-protected.
UnsupportedOperationException | If this ProxyClient
does not denote a JMX connector for a JMX VM agent.
|
---|
Returns true if the retrieved RMI stub is SSL-protected.
UnsupportedOperationException | If this ProxyClient
does not denote a JMX connector for a JMX VM agent.
|
---|
Returns true if this ProxyClient
denotes
a JMX connector for a JMX VM agent.
Removes a PropertyChangeListener
from the listener list. This
removes a PropertyChangeListener
that was registered for all
properties. If listener
was added more than once to the same
event source, it will be notified one less time after being removed. If
listener
is null
, or was never added, no exception is
thrown and no action is taken.
listener | the PropertyChangeListener to be removed
|
---|
Set the value of a specific attribute of a named MBean.
Returns a string representation of the object. In general, the
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())