[−][src]Struct jmx::MBeanClient
Interface to a remote MBean server.
Wrapper around the following Java classes:
- javax.management.remote.JMXServiceURL
- javax.management.remote.JMXConnectorFactory
- javax.management.MBeanServerConnection
Methods
impl MBeanClient
[src]
pub fn connect(address: MBeanAddress) -> Result<MBeanClient>
[src]
Create an MBeanClient
instance connected to the given address.
pub fn connect_with_options(
address: MBeanAddress,
options: MBeanClientOptions
) -> Result<MBeanClient>
[src]
address: MBeanAddress,
options: MBeanClientOptions
) -> Result<MBeanClient>
Create an MBeanClient
instance connected to the given address and options.
Trait Implementations
impl MBeanClientTrait for MBeanClient
[src]
fn get_attribute<S1, S2, T>(&self, mbean: S1, attribute: S2) -> Result<T> where
S1: Into<String>,
S2: Into<String>,
T: DeserializeOwned,
[src]
S1: Into<String>,
S2: Into<String>,
T: DeserializeOwned,
fn get_mbean_info<S>(&self, mbean: S) -> Result<MBeanInfo> where
S: Into<String>,
[src]
S: Into<String>,
fn query_names<S1, S2>(&self, name: S1, query: S2) -> Result<Vec<String>> where
S1: Into<String>,
S2: Into<String>,
[src]
S1: Into<String>,
S2: Into<String>,
Auto Trait Implementations
impl !Send for MBeanClient
impl !Sync for MBeanClient
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,