[][src]Trait jmx::MBeanClientTrait

pub trait MBeanClientTrait {
    fn get_attribute<S1, S2, T>(&self, mbean: S1, attribute: S2) -> Result<T>
    where
        S1: Into<String>,
        S2: Into<String>,
        T: DeserializeOwned
;
fn get_mbean_info<S>(&self, mbean: S) -> Result<MBeanInfo>
    where
        S: Into<String>
;
fn query_names<S1, S2>(&self, name: S1, query: S2) -> Result<Vec<String>>
    where
        S1: Into<String>,
        S2: Into<String>
; }

Trait definition for all MBean clients.

Required methods

fn get_attribute<S1, S2, T>(&self, mbean: S1, attribute: S2) -> Result<T> where
    S1: Into<String>,
    S2: Into<String>,
    T: DeserializeOwned

Get the value of a specific MBean attribute.

fn get_mbean_info<S>(&self, mbean: S) -> Result<MBeanInfo> where
    S: Into<String>, 

Get information about an MBean.

fn query_names<S1, S2>(&self, name: S1, query: S2) -> Result<Vec<String>> where
    S1: Into<String>,
    S2: Into<String>, 

Query for the names of MBeans on the JMX server.

Loading content...

Implementors

impl MBeanClientTrait for MBeanClient[src]

Loading content...