Example usage for java.rmi.server RMISocketFactory getSocketFactory

List of usage examples for java.rmi.server RMISocketFactory getSocketFactory

Introduction

In this page you can find the example usage for java.rmi.server RMISocketFactory getSocketFactory.

Prototype

public synchronized static RMISocketFactory getSocketFactory() 

Source Link

Document

Returns the socket factory set by the setSocketFactory method.

Usage

From source file:org.ut.biolab.medsavant.server.MedSavantServerEngine.java

public static RMIServerSocketFactory getDefaultServerSocketFactory() {
    return isTLSRequired() ? new SslRMIServerSocketFactory(null, null, require_client_auth)
            : RMISocketFactory.getSocketFactory();
}

From source file:org.ut.biolab.medsavant.server.MedSavantServerEngine.java

public static RMIClientSocketFactory getDefaultClientSocketFactory() {
    return isTLSRequired() ? new SslRMIClientSocketFactory() : RMISocketFactory.getSocketFactory();
}