TransportListenerSmtpConnectionFactoryTransportListenerService.connect()
Created by nlabrot on 04/06/15.Transport supports actually 4 types of connections which are handled by this connection strategy factory
Service.connect() => ConnectionStrategyFactory.newConnectionStrategy()
Service.connect(String, String) ()} => ConnectionStrategyFactory.newConnectionStrategy(String, String)
Service.connect(String, String, String) ()} => ConnectionStrategyFactory.newConnectionStrategy(String, String, String)
Service.connect(String, int, String, String) ()} => ConnectionStrategyFactory.newConnectionStrategy(String, int, String, String)
Created by nlabrot on 04/06/15.SmtpConnectionFactory with a
Session initialized to Session.getInstance(new Properties()),
TransportStrategyFactory.newSessiontStrategy(),
ConnectionStrategyFactory.newConnectionStrategy()SmtpConnectionFactory using the provided
Session and
TransportStrategyFactory.newSessiontStrategy(),
ConnectionStrategyFactory.newConnectionStrategy()TransportListenerSmtpConnectionFactory factorySession.getTransport()
Created by nlabrot on 04/06/15.Session supports actually 4 types of get transport which are handled by this transport strategy
Session.getTransport() => TransportStrategyFactory.newSessiontStrategy()
Session.getTransport(String) )} => TransportStrategyFactory.newProtocolStrategy(String)
Session.getTransport(URLName) ()} => TransportStrategyFactory.newUrlNameStrategy(URLName)
Session.getTransport(Address) => TransportStrategyFactory.newUrlNameStrategy(URLName)
Session.getTransport(Provider) => TransportStrategyFactory.newProviderStrategy(Provider)
Created by nlabrot on 04/06/15.Copyright © 2016. All rights reserved.