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, createTransport
createInactivityMonitor, createTcpTransport, createTcpTransportServer, createTransport, createTransport, isUseInactivityMonitor
bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigure
protected BrokerService brokerService
public AutoSslTransportFactory()
public void setBrokerService(BrokerService brokerService)
setBrokerService
in interface BrokerServiceAware
public TransportServer doBind(URI location) throws IOException
doBind
in class SslTransportFactory
IOException
protected AutoSslTransportServer createAutoSslTransportServer(URI location, SSLServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException
location
- serverSocketFactory
- IOException
URISyntaxException
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.