|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.security.domain.DomainServerSocketFactoryService
public class DomainServerSocketFactoryService
Constructor Summary | |
---|---|
DomainServerSocketFactoryService()
|
Method Summary | |
---|---|
void |
create()
create the service, do expensive operations etc |
ServerSocket |
createServerSocket()
Returns an unbound server socket. |
ServerSocket |
createServerSocket(int i)
Returns a server socket bound to the specified port. |
ServerSocket |
createServerSocket(int i,
int i1)
Returns a server socket bound to the specified port, and uses the specified connection backlog. |
ServerSocket |
createServerSocket(int i,
int i1,
InetAddress inetAddress)
Returns a server socket bound to the specified port, with a specified listen backlog and local IP. |
void |
destroy()
destroy the service, tear down |
String |
getSecurityDomain()
|
void |
setSecurityDomain(String securityDomain)
|
void |
start()
start the service, create is already called |
void |
stop()
stop the service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DomainServerSocketFactoryService()
Method Detail |
---|
public ServerSocket createServerSocket() throws IOException
createServerSocket
in interface org.jboss.remoting.security.ServerSocketFactoryMBean
IOException
public ServerSocket createServerSocket(int i) throws IOException
createServerSocket
in interface org.jboss.remoting.security.ServerSocketFactoryMBean
i
-
IOException
public ServerSocket createServerSocket(int i, int i1) throws IOException
createServerSocket
in interface org.jboss.remoting.security.ServerSocketFactoryMBean
i
- i1
-
IOException
public ServerSocket createServerSocket(int i, int i1, InetAddress inetAddress) throws IOException
createServerSocket
in interface org.jboss.remoting.security.ServerSocketFactoryMBean
i
- i1
- inetAddress
-
IOException
public void setSecurityDomain(String securityDomain)
setSecurityDomain
in interface DomainServerSocketFactoryServiceMBean
public String getSecurityDomain()
getSecurityDomain
in interface DomainServerSocketFactoryServiceMBean
public void start() throws Exception
start
in interface DomainServerSocketFactoryServiceMBean
Exception
public void create() throws Exception
create
in interface DomainServerSocketFactoryServiceMBean
Exception
public void stop()
stop
in interface DomainServerSocketFactoryServiceMBean
public void destroy()
destroy
in interface DomainServerSocketFactoryServiceMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |