Lines Matching refs:factory
41 * change the socket factory that creates the socket
100 * If the application has specified a server socket factory, that
101 * factory's <code>createSocketImpl</code> method is called to create
144 * If the application has specified a server socket factory, that
145 * factory's <code>createSocketImpl</code> method is called to create
283 if (factory != null) {
284 impl = factory.createSocketImpl();
747 * The factory for all server sockets.
749 private static SocketImplFactory factory = null;
752 * Sets the server socket implementation factory for the
753 * application. The factory can be specified only once.
756 * implementation factory's <code>createSocketImpl</code> method is
759 * Passing <code>null</code> to the method is a no-op unless the factory
767 * @param fac the desired factory.
769 * socket factory.
770 * @exception SocketException if the factory has already been defined.
777 if (factory != null) {
778 throw new SocketException("factory already defined");
784 factory = fac;