pub struct MBeanClient { /* private fields */ }
Expand description
Interface to a remote MBean server.
Wrapper around the following Java classes:
- javax.management.remote.JMXServiceURL
- javax.management.remote.JMXConnectorFactory
- javax.management.MBeanServerConnection
Implementations§
Source§impl MBeanClient
impl MBeanClient
Sourcepub fn connect(address: MBeanAddress) -> Result<MBeanClient>
pub fn connect(address: MBeanAddress) -> Result<MBeanClient>
Create an MBeanClient
instance connected to the given address.
Sourcepub fn connect_with_options(
address: MBeanAddress,
options: MBeanClientOptions<'_>,
) -> Result<MBeanClient>
pub fn connect_with_options( address: MBeanAddress, options: MBeanClientOptions<'_>, ) -> Result<MBeanClient>
Create an MBeanClient
instance connected to the given address and options.
Trait Implementations§
Source§impl MBeanClientTrait for MBeanClient
impl MBeanClientTrait for MBeanClient
Source§fn get_attribute<S1, S2, T>(&self, mbean: S1, attribute: S2) -> Result<T>
fn get_attribute<S1, S2, T>(&self, mbean: S1, attribute: S2) -> Result<T>
Get the value of a specific MBean attribute.
Source§fn get_mbean_info<S>(&self, mbean: S) -> Result<MBeanInfo>
fn get_mbean_info<S>(&self, mbean: S) -> Result<MBeanInfo>
Get information about an MBean.
Auto Trait Implementations§
impl Freeze for MBeanClient
impl RefUnwindSafe for MBeanClient
impl !Send for MBeanClient
impl !Sync for MBeanClient
impl Unpin for MBeanClient
impl UnwindSafe for MBeanClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more