Class AFUNIXSocketFactory.FactoryArg

All Implemented Interfaces:
Enclosing class:

public static final class AFUNIXSocketFactory.FactoryArg extends AFUNIXSocketFactory
A socket factory that handles a custom hostname ("localhost", by default, and configured by the system property ""), forwarding all other requests to the fallback SocketFactory. The socket path is configured through an argument passed by to the constructor. This is particularly useful for JDBC drivers that take a "socketFactory" and a "socketFactoryArg". The latter will be passed as a constructor argument.