|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerSocketFactoryMBean
This interface is due to the constraint added by using JMX based configuration. If want to inject a custom server socket factory (or the one provided by JBossRemoting), it has to implement this interface. This is due to the fact that concrete objects can not be injected at this point, only interfaces (and the java language ServerSocketFactory class does not implement any interface).
Method Summary | |
---|---|
java.net.ServerSocket |
createServerSocket()
Returns an unbound server socket. |
java.net.ServerSocket |
createServerSocket(int i)
Returns a server socket bound to the specified port. |
java.net.ServerSocket |
createServerSocket(int i,
int i1)
Returns a server socket bound to the specified port, and uses the specified connection backlog. |
java.net.ServerSocket |
createServerSocket(int i,
int i1,
java.net.InetAddress inetAddress)
Returns a server socket bound to the specified port, with a specified listen backlog and local IP. |
Method Detail |
---|
java.net.ServerSocket createServerSocket() throws java.io.IOException
java.io.IOException
java.net.ServerSocket createServerSocket(int i) throws java.io.IOException
i
-
java.io.IOException
java.net.ServerSocket createServerSocket(int i, int i1) throws java.io.IOException
i
- i1
-
java.io.IOException
java.net.ServerSocket createServerSocket(int i, int i1, java.net.InetAddress inetAddress) throws java.io.IOException
i
- i1
- inetAddress
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |