![JAR search and dependency download from the Maven repository](/logo.png)
org.ow2.jasmine.probe.jmxconnection.JmxConnectionService Maven / Gradle / Ivy
The newest version!
/**
* JASMINe
* Copyright (C) 2011 Bull S.A.S.
* Contact: [email protected]
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
* --------------------------------------------------------------------------
* $Id$
* --------------------------------------------------------------------------
*/
package org.ow2.jasmine.probe.jmxconnection;
import java.util.Map;
/**
* Main interface of the jasmineJmxConnectionService OSGi service.
*/
public interface JmxConnectionService {
/**
* Get the JmxConnectionFactory for these parameters.
*
* @param targetUrl jmx url for the target
* @param env properties for connector creation
* @throws JmxConnectionException Thrown if connector could not be created, contains the cause.
*/
JmxConnectionFactory getJmxConnectionFactory(final String targetUrl, final Map env) throws JmxConnectionException;
/**
* Remove the JmxConnectionFactory corresponding to the given url
* @param targetUrl jmx url
*/
void removeJmxConnectionFactory(final String targetUrl);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy