|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.transport.AbstractConnector
org.mule.transport.email.AbstractMailConnector
org.mule.transport.email.SmtpConnector
org.mule.transport.email.SmtpsConnector
public class SmtpsConnector
Creates a secure SMTP connection
| Field Summary | |
|---|---|
static int |
DEFAULT_SMTPS_PORT
|
static String |
DEFAULT_SOCKET_FACTORY
|
static String |
SMTPS
|
| Fields inherited from class org.mule.transport.email.SmtpConnector |
|---|
DEFAULT_CONTENT_TYPE, DEFAULT_SMTP_HOST, DEFAULT_SMTP_PORT, SMTP |
| Fields inherited from class org.mule.transport.email.AbstractMailConnector |
|---|
MAILBOX |
| Fields inherited from class org.mule.transport.AbstractConnector |
|---|
connected, connecting, connectionStrategy, createMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatchers, disposed, disposing, exceptionListener, initialised, logger, muleContext, name, numberOfConcurrentTransactedReceivers, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, started, startOnConnect |
| Fields inherited from interface org.mule.api.transport.Connector |
|---|
INT_VALUE_NOT_SET |
| Fields inherited from interface org.mule.api.lifecycle.Initialisable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Startable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Stoppable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Disposable |
|---|
PHASE_NAME |
| Constructor Summary | |
|---|---|
SmtpsConnector()
|
|
| Method Summary | |
|---|---|
protected void |
doInitialise()
|
protected void |
extendPropertiesForSession(Properties global,
Properties local,
URLName url)
Subclasses should extend this to add further properties. |
String |
getBaseProtocol()
Some protocols (eg secure extensions) extend a "base" protocol. |
String |
getClientKeyStore()
|
String |
getClientKeyStorePassword()
|
String |
getClientKeyStoreType()
|
String |
getProtocol()
|
String |
getSocketFactory()
|
String |
getSocketFactoryFallback()
|
String |
getTrustStore()
|
String |
getTrustStorePassword()
|
void |
setClientKeyStore(String name)
|
void |
setClientKeyStorePassword(String clientKeyStorePassword)
|
void |
setClientKeyStoreType(String clientKeyStoreType)
|
void |
setSocketFactory(String sslSocketFactory)
|
void |
setSocketFactoryFallback(String socketFactoryFallback)
|
void |
setTrustStore(String trustStore)
|
void |
setTrustStorePassword(String trustStorePassword)
|
| Methods inherited from class org.mule.transport.email.SmtpConnector |
|---|
createReceiver, getBccAddresses, getCcAddresses, getContentType, getCustomHeaders, getDefaultPort, getFromAddress, getReplyToAddresses, getSubject, setBccAddresses, setCcAddresses, setContentType, setCustomHeaders, setFromAddress, setReplyToAddresses, setSubject |
| Methods inherited from class org.mule.transport.email.AbstractMailConnector |
|---|
doConnect, doDisconnect, doDispose, doStart, doStop, dumpProperties, getAuthenticator, getMailboxFolder, getSessionDetails, newSession, setAuthenticator, setMailboxFolder, urlFromEndpoint |
| Methods inherited from class org.mule.transport.AbstractConnector |
|---|
checkDisposed, connect, destroyReceiver, disconnect, dispatch, dispose, disposeDispatchers, disposeReceivers, disposeRequesters, disposeWorkManagers, exceptionThrown, fireNotification, getConnectEventId, getConnectionDescription, getConnectionStrategy, getDefaultInboundTransformers, getDefaultOutboundTransformers, getDefaultResponseTransformers, getDispatcherFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getExceptionListener, getMaxDispatchersActive, getMaxRequestersActive, getMessageAdapter, getMuleContext, getName, getNumberOfConcurrentTransactedReceivers, getOutputStream, getReceiver, getReceiverKey, getReceivers, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getRequesterFactory, getRequesterThreadingProfile, getRequesterWorkManager, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getSupportedProtocols, handleException, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, initWorkManagers, isConnected, isCreateMultipleTransactedReceivers, isDisposed, isDisposing, isEnableMessageEvents, isRemoteSyncEnabled, isStarted, isSyncEnabled, lookupReceiver, registerListener, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, request, request, send, setConnectionStrategy, setCreateMultipleTransactedReceivers, setDispatcherFactory, setDispatcherThreadingProfile, setDynamicNotification, setExceptionListener, setMaxDispatchersActive, setMaxRequestersActive, setMuleContext, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setRequesterFactory, setRequesterThreadingProfile, setServiceOverrides, setSessionHandler, setSupportedProtocols, setupDispatchReturn, setupRequestReturn, start, stop, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, updateCachedNotificationHandler, workAccepted, workCompleted, workRejected, workStarted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String SMTPS
public static final String DEFAULT_SOCKET_FACTORY
public static final int DEFAULT_SMTPS_PORT
| Constructor Detail |
|---|
public SmtpsConnector()
| Method Detail |
|---|
public String getProtocol()
getProtocol in interface org.mule.api.transport.ConnectorgetProtocol in class SmtpConnectorpublic String getBaseProtocol()
AbstractMailConnector
getBaseProtocol in class AbstractMailConnector
protected void doInitialise()
throws org.mule.api.lifecycle.InitialisationException
doInitialise in class AbstractMailConnectororg.mule.api.lifecycle.InitialisationException
protected void extendPropertiesForSession(Properties global,
Properties local,
URLName url)
AbstractMailConnector
extendPropertiesForSession in class AbstractMailConnectorglobal - system propertieslocal - local properties (specific to one session)url - the endpoint urlpublic String getSocketFactory()
public void setSocketFactory(String sslSocketFactory)
public String getSocketFactoryFallback()
public void setSocketFactoryFallback(String socketFactoryFallback)
public String getTrustStore()
getTrustStore in interface org.mule.api.security.TlsIndirectTrustStorepublic String getTrustStorePassword()
getTrustStorePassword in interface org.mule.api.security.TlsIndirectTrustStore
public void setTrustStore(String trustStore)
throws IOException
setTrustStore in interface org.mule.api.security.TlsIndirectTrustStoreIOExceptionpublic void setTrustStorePassword(String trustStorePassword)
setTrustStorePassword in interface org.mule.api.security.TlsIndirectTrustStorepublic String getClientKeyStore()
getClientKeyStore in interface org.mule.api.security.TlsIndirectKeyStorepublic String getClientKeyStorePassword()
getClientKeyStorePassword in interface org.mule.api.security.TlsIndirectKeyStorepublic String getClientKeyStoreType()
getClientKeyStoreType in interface org.mule.api.security.TlsIndirectKeyStore
public void setClientKeyStore(String name)
throws IOException
setClientKeyStore in interface org.mule.api.security.TlsIndirectKeyStoreIOExceptionpublic void setClientKeyStorePassword(String clientKeyStorePassword)
setClientKeyStorePassword in interface org.mule.api.security.TlsIndirectKeyStorepublic void setClientKeyStoreType(String clientKeyStoreType)
setClientKeyStoreType in interface org.mule.api.security.TlsIndirectKeyStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||