org.jboss.crypto
Class CipherServerSocketFactory
java.lang.Object
org.jboss.crypto.CipherServerSocketFactory
- All Implemented Interfaces:
- RMIServerSocketFactory
public class CipherServerSocketFactory
- extends Object
- implements RMIServerSocketFactory
An implementation of RMIServerSocketFactory that uses a
DomainServerSocketFactory for its implementation. This class is just an
adaptor from the RMIServerSocketFactory to the DomainServerSocketFactory.
This class is not suitable for RMI object that require a Serializable socket
factory like activatable services. The reason for this limitation is that
a SecurityDomain is not serializable due to its association with a local
KeyStore.
- Version:
- $Revision: 1.3.6.1 $
- Author:
- Scott.Stark@jboss.org
CipherServerSocketFactory
public CipherServerSocketFactory()
- Creates new RMISSLServerSocketFactory
createServerSocket
public ServerSocket createServerSocket(int port)
throws IOException
- Create a server socket on the specified port (port 0 indicates
an anonymous port).
- Specified by:
createServerSocket
in interface RMIServerSocketFactory
- Parameters:
port
- the port number
- Returns:
- the server socket on the specified port
- Throws:
IOException
- if an I/O error occurs during server socket
creation
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.