|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
org.jboss.remoting.security.CustomSSLSocketFactory
org.jboss.remoting.security.SSLSocketFactoryService
public class SSLSocketFactoryService
This is a basic wrapper around the SSLSocketBuilder which is needed because it extneds the javax.net.ServerSocketFactory class and implements the SSLServerSocketFactoryServiceMBean. It has no other function.
| Constructor Summary | |
|---|---|
SSLSocketFactoryService()
|
|
SSLSocketFactoryService(javax.net.ssl.SSLSocketFactory factory,
SSLSocketBuilder builder)
Constructor for CustomSSLSocketFactory. |
|
| Method Summary | |
|---|---|
void |
create()
create the service, do expensive operations etc |
void |
destroy()
destroy the service, tear down |
void |
start()
start the service, create is already called |
void |
stop()
stop the service |
| Methods inherited from class org.jboss.remoting.security.CustomSSLSocketFactory |
|---|
createSocket, createSocket, createSocket, createSocket, createSocket, createSocket, equals, getDefaultCipherSuites, getSSLSocketBuilder, getSupportedCipherSuites, hashCode, setFactory, setSSLSocketBuilder, toString |
| Methods inherited from class javax.net.ssl.SSLSocketFactory |
|---|
getDefault |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.remoting.security.SSLSocketFactoryServiceMBean |
|---|
setSSLSocketBuilder |
| Methods inherited from interface org.jboss.remoting.security.SocketFactoryMBean |
|---|
createSocket, createSocket, createSocket, createSocket |
| Constructor Detail |
|---|
public SSLSocketFactoryService()
public SSLSocketFactoryService(javax.net.ssl.SSLSocketFactory factory,
SSLSocketBuilder builder)
CustomSSLSocketFactory. The factory can be null - call
CustomSSLSocketFactory.setFactory(javax.net.ssl.SSLSocketFactory) to set it later.
factory - the true factory this class delegates tobuilder - the class that built this custom factory - contains all the configuration for this factory| Method Detail |
|---|
public void start()
throws java.lang.Exception
start in interface SSLSocketFactoryServiceMBeanjava.lang.Exception
public void create()
throws java.lang.Exception
create in interface SSLSocketFactoryServiceMBeanjava.lang.Exceptionpublic void stop()
stop in interface SSLSocketFactoryServiceMBeanpublic void destroy()
destroy in interface SSLSocketFactoryServiceMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||