final JMXConnectorProvider [] providers = getProviders();
Connection conn = null;
for( int i = 0; i < providers.length; ++i )
{
final JMXConnectorProvider provider = (JMXConnectorProvider)providers[ i ];
if ( provider.isSupported( map ) )
{
final JMXConnector jmxConn = provider.connect( map );
conn = new Connection( name, connectInfo, jmxConn );
break;
}
}