JmxRemoteLifecycleListener.RmiClientLocalhostSocketFactory (Apache Tomcat 9.0.37 API Documentation)

org.apache.catalina.mbeans

## Class JmxRemoteLifecycleListener.RmiClientLocalhostSocketFactory

- java.lang.Object
- - org.apache.catalina.mbeans.JmxRemoteLifecycleListener.RmiClientLocalhostSocketFactory

- All Implemented Interfaces:
    Serializable, RMIClientSocketFactory
  Enclosing class:
    JmxRemoteLifecycleListener

      public static class JmxRemoteLifecycleListener.RmiClientLocalhostSocketFactory
      extends Object
      implements RMIClientSocketFactory, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RmiClientLocalhostSocketFactory(RMIClientSocketFactory theFactory)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Socket` | `createSocket(String host, int port)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RmiClientLocalhostSocketFactory

          public RmiClientLocalhostSocketFactory(RMIClientSocketFactory theFactory)

  - ### Method Detail

    - #### createSocket

          public Socket createSocket(String host,
                                     int port)
                              throws IOException

      Specified by:
        `createSocket` in interface `RMIClientSocketFactory`
      Throws:
        `IOException`

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.