public class AutoSslTransportFactory extends SslTransportFactory implements BrokerServiceAware
| Modifier and Type | Field and Description |
|---|---|
protected BrokerService |
brokerService |
| Constructor and Description |
|---|
AutoSslTransportFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected AutoSslTransportServer |
createAutoSslTransportServer(URI location,
SSLServerSocketFactory serverSocketFactory)
Allows subclasses of SslTransportFactory to create custom instances of
SslTransportServer.
|
TransportServer |
doBind(URI location)
Overriding to use SslTransportServer and allow for proper reflection.
|
void |
setBrokerService(BrokerService brokerService) |
compositeConfigure, createServerSocketFactory, createSocketFactory, createSslTransportServer, createTransportcreateInactivityMonitor, createTcpTransport, createTcpTransportServer, createTransport, createTransport, isUseInactivityMonitorbind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigureprotected BrokerService brokerService
public AutoSslTransportFactory()
public void setBrokerService(BrokerService brokerService)
setBrokerService in interface BrokerServiceAwarepublic TransportServer doBind(URI location) throws IOException
doBind in class SslTransportFactoryIOExceptionprotected AutoSslTransportServer createAutoSslTransportServer(URI location, SSLServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException
location - serverSocketFactory - IOExceptionURISyntaxExceptionCopyright © 2005–2016 The Apache Software Foundation. All rights reserved.