@Activation(messageListeners=org.wildfly.mail.ra.MailListener.class) public class MailActivationSpec extends Object implements javax.resource.spi.ActivationSpec, Serializable
| Constructor and Description |
|---|
MailActivationSpec()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMailFolder()
Get the mail folder
|
String |
getMailServer()
Get the mail server
|
int |
getMaxMessages()
Get the max messages
|
String |
getMessageSelector()
Get the message selector
|
String |
getPassword()
Get the password
|
Long |
getPollingInterval()
Get the polling interval
|
int |
getPort()
Get the port
|
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
Get the resource adapter
|
String |
getStoreProtocol()
Get the store protocol
|
String |
getUserName()
Get the user name
|
boolean |
isDebug()
Get the max messages
|
boolean |
isFlush()
Get the flush
|
boolean |
isStarttls()
Get the starttls
|
void |
setDebug(boolean debug)
Set the debug
|
void |
setFlush(boolean flush)
Set the flush
|
void |
setMailFolder(String mailFolder)
Set the mail folder
|
void |
setMailServer(String mailServer)
Set the mail server
|
void |
setMaxMessages(int maxMessages)
Set the max messages
|
void |
setMessageSelector(String messageSelector)
Set the message selector
|
void |
setPassword(String password)
Set the password
|
void |
setPollingInterval(Long pollingInterval)
Set the polling interval
|
void |
setPort(int port)
Set the port
|
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
Set the resource adapter
|
void |
setStarttls(boolean starttls)
Set the starttls
|
void |
setStoreProtocol(String storeProtocol)
Set the store protocol
|
void |
setUserName(String userName)
Set the user name
|
String |
toString()
String representation
|
void |
validate()
Validate
|
public String getMailServer()
public void setMailServer(String mailServer)
mailServer - The valuepublic String getStoreProtocol()
public void setStoreProtocol(String storeProtocol)
storeProtocol - The valuepublic String getMailFolder()
public void setMailFolder(String mailFolder)
mailFolder - The valuepublic String getMessageSelector()
public void setMessageSelector(String messageSelector)
messageSelector - The valuepublic String getUserName()
public void setUserName(String userName)
userName - The valuepublic String getPassword()
public void setPassword(String password)
password - The valuepublic Long getPollingInterval()
public void setPollingInterval(Long pollingInterval)
pollingInterval - The valuepublic int getMaxMessages()
public void setMaxMessages(int maxMessages)
maxMessages - The valuepublic boolean isDebug()
public void setDebug(boolean debug)
debug - The valuepublic int getPort()
public void setPort(int port)
port - The valuepublic boolean isStarttls()
public void setStarttls(boolean starttls)
starttls - The valuepublic boolean isFlush()
public void setFlush(boolean flush)
flush - The valuepublic javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociationpublic void setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
throws javax.resource.ResourceException
setResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociationra - The valuejavax.resource.ResourceException - Thrown if an error occurspublic void validate()
throws javax.resource.spi.InvalidPropertyException
validate in interface javax.resource.spi.ActivationSpecjavax.resource.spi.InvalidPropertyException - Thrown if an error occursCopyright © 2014 JBoss by Red Hat. All rights reserved.