Package com.googlecode.jmxtrans.connections

Examples of com.googlecode.jmxtrans.connections.SocketFactory


  }

  @Override
  protected void configure() {
    bind(new TypeLiteral<GenericKeyedObjectPool<InetSocketAddress, Socket>>(){})
        .toInstance(getObjectPool(new SocketFactory(), SocketFactory.class.getSimpleName()));
    bind(new TypeLiteral<GenericKeyedObjectPool<JMXConnectionParams, JMXConnector>>(){})
        .toInstance(getObjectPool(new JmxConnectionFactory(), JmxConnectionFactory.class.getSimpleName()));
    bind(new TypeLiteral<GenericKeyedObjectPool<SocketAddress, DatagramSocket>>(){})
        .toInstance(getObjectPool(new DatagramSocketFactory(), DatagramSocketFactory.class.getSimpleName()));
  }
View Full Code Here

TOP

Related Classes of com.googlecode.jmxtrans.connections.SocketFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.