public class MailActivationSpec
extends java.lang.Object
implements javax.resource.spi.ActivationSpec, java.io.Serializable
| Constructor and Description |
|---|
MailActivationSpec()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMailFolder()
Get the mail folder
|
java.lang.String |
getMailServer()
Get the mail server
|
java.lang.Integer |
getMaxMessages()
Get the max messages
|
java.lang.String |
getMessageSelector()
Get the message selector
|
java.lang.String |
getPassword()
Get the password
|
java.lang.Long |
getPollingInterval()
Get the polling interval
|
java.lang.Integer |
getPort()
Get the port
|
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
Get the resource adapter
|
java.lang.String |
getStoreProtocol()
Get the store protocol
|
java.lang.String |
getUserName()
Get the user name
|
java.lang.Boolean |
isDebug()
Get the max messages
|
java.lang.Boolean |
isFlush()
Get the flush
|
java.lang.Boolean |
isStarttls()
Get the starttls
|
void |
setDebug(java.lang.Boolean debug)
Set the debug
|
void |
setFlush(java.lang.Boolean flush)
Set the flush
|
void |
setMailFolder(java.lang.String mailFolder)
Set the mail folder
|
void |
setMailServer(java.lang.String mailServer)
Set the mail server
|
void |
setMaxMessages(java.lang.Integer maxMessages)
Set the max messages
|
void |
setMessageSelector(java.lang.String messageSelector)
Set the message selector
|
void |
setPassword(java.lang.String password)
Set the password
|
void |
setPollingInterval(java.lang.Long pollingInterval)
Set the polling interval
|
void |
setPort(java.lang.Integer port)
Set the port
|
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
Set the resource adapter
|
void |
setStarttls(java.lang.Boolean starttls)
Set the starttls
|
void |
setStoreProtocol(java.lang.String storeProtocol)
Set the store protocol
|
void |
setUserName(java.lang.String userName)
Set the user name
|
java.lang.String |
toString()
String representation
|
void |
validate()
Validate
|
public java.lang.String getMailServer()
public void setMailServer(java.lang.String mailServer)
mailServer - The valuepublic java.lang.String getStoreProtocol()
public void setStoreProtocol(java.lang.String storeProtocol)
storeProtocol - The valuepublic java.lang.String getMailFolder()
public void setMailFolder(java.lang.String mailFolder)
mailFolder - The valuepublic java.lang.String getMessageSelector()
public void setMessageSelector(java.lang.String messageSelector)
messageSelector - The valuepublic java.lang.String getUserName()
public void setUserName(java.lang.String userName)
userName - The valuepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - The valuepublic java.lang.Long getPollingInterval()
public void setPollingInterval(java.lang.Long pollingInterval)
pollingInterval - The valuepublic java.lang.Integer getMaxMessages()
public void setMaxMessages(java.lang.Integer maxMessages)
maxMessages - The valuepublic java.lang.Boolean isDebug()
public void setDebug(java.lang.Boolean debug)
debug - The valuepublic java.lang.Integer getPort()
public void setPort(java.lang.Integer port)
port - The valuepublic java.lang.Boolean isStarttls()
public void setStarttls(java.lang.Boolean starttls)
starttls - The valuepublic java.lang.Boolean isFlush()
public void setFlush(java.lang.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 occurspublic java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2010 Red Hat Middleware LLC (http://www.jboss.com/)