NAME

JMX::Jmx4Perl - Access to JMX via Perl

SYNOPSIS

DESCRIPTION

METHODS

$jmx = JMX::Jmx4Perl->new(mode => <access module>, ....)
$resp => $jmx_get_attribute(...)
$resp = $jmx->get_attribute($mbean,$attribute,$path) 
$resp = $jmx->get_attribute({ domain => <domain>, 
                              properties => { <key> => value }, 
                              attribute => <attribute>, 
                              path => <path>)

Read a JMX attribute. In the first form, you provide the MBean name, the attribute name and an optional path as positional arguments. The second variant uses named parameters from a hashref.

The Mbean name can be specified with the canoncial name (key mbean), or with a domain name (key domain) and one or more properties (key properties or props) which contain key-value pairs in a Hashref. For more about naming of MBeans please refer to http://java.sun.com/j2se/1.5.0/docs/api/javax/management/ObjectName.html for more information about JMX naming.

$resp = $jmx->request($request)

Send a request to the underlying agent and return the response. This is an abstract method which needs to be overwritten by a subclass. The argument must be of type JMX::Jmx4Perl::Request and it returns an object of type JMX::Jmx4Perl::Response

LICENSE

This file is part of jmx4perl.

Jmx4perl is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

jmx4perl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with jmx4perl. If not, see <http://www.gnu.org/licenses/>.

roland@cpan.org

3 POD Errors

The following errors were encountered while parsing the POD:

Around line 68:

Unterminated C<...> sequence

Around line 143:

You forgot a '=back' before '=head1'

Around line 160:

Unknown directive: =AUTHOR