public class DomainServerSocketFactory extends Object implements org.jacorb.orb.factory.ServerSocketFactory, org.jacorb.config.Configurable
This class implements a JacORB ServerSocketFactory
that uses a JSSESecurityDomain
to build SSL server
sockets. It is installed if SSL support is enabled in the subsystem configuration. For example:
The security domain name is required and must match a configured domain that contains JSSE configuration:
Constructor and Description |
---|
DomainServerSocketFactory(org.jacorb.orb.ORB orb)
Creates an instance of
DomainServerSocketFactory with the specified ORB. |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.jacorb.config.Configuration configuration) |
ServerSocket |
createServerSocket(int port) |
ServerSocket |
createServerSocket(int port,
int backlog) |
ServerSocket |
createServerSocket(int port,
int backlog,
InetAddress inetAddress) |
public DomainServerSocketFactory(org.jacorb.orb.ORB orb)
Creates an instance of DomainServerSocketFactory
with the specified ORB.
orb
- a reference to the running org.jacorb.orb.ORB
instance.public ServerSocket createServerSocket(int port) throws IOException
createServerSocket
in interface org.jacorb.orb.factory.ServerSocketFactory
IOException
public ServerSocket createServerSocket(int port, int backlog) throws IOException
createServerSocket
in interface org.jacorb.orb.factory.ServerSocketFactory
IOException
public ServerSocket createServerSocket(int port, int backlog, InetAddress inetAddress) throws IOException
createServerSocket
in interface org.jacorb.orb.factory.ServerSocketFactory
IOException
public void configure(org.jacorb.config.Configuration configuration) throws org.jacorb.config.ConfigurationException
configure
in interface org.jacorb.config.Configurable
org.jacorb.config.ConfigurationException
Copyright © 2014 JBoss by Red Hat. All rights reserved.