当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 connector API Documentation 英文版文档
MailActivationSpec (JBoss Connector API) - JBoss 4.0.1 sp1 connector API Documentation 英文版文档
org.jboss.resource.adapter.mail.inflow
Class MailActivationSpec
java.lang.Object
org.jboss.resource.adapter.mail.inflow.MailActivationSpec
- All Implemented Interfaces:
- javax.resource.spi.ActivationSpec, javax.resource.spi.ResourceAdapterAssociation, Serializable
- public class MailActivationSpec
- extends Object
- implements javax.resource.spi.ActivationSpec, Serializable
The encapsulation of the mail folder endpoint specification
- Version:
- $Revision: 1.1 $
- Author:
- Scott.Stark@jboss.org
- See Also:
- Serialized Form
MailActivationSpec
public MailActivationSpec()
getMailServer
public String getMailServer()
setMailServer
public void setMailServer(String mailServer)
getStoreProtocol
public String getStoreProtocol()
setStoreProtocol
public void setStoreProtocol(String storeProtocol)
getMailFolder
public String getMailFolder()
setMailFolder
public void setMailFolder(String mailFolder)
getMessageSelector
public String getMessageSelector()
setMessageSelector
public void setMessageSelector(String messageSelector)
getUserName
public String getUserName()
setUserName
public void setUserName(String userName)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getPollingInterval
public long getPollingInterval()
setPollingInterval
public void setPollingInterval(long pollingInterval)
getMaxMessages
public int getMaxMessages()
setMaxMessages
public void setMaxMessages(int maxMessages)
getResourceAdapter
public javax.resource.spi.ResourceAdapter getResourceAdapter()
- Specified by:
getResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
setResourceAdapter
public void setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
throws javax.resource.ResourceException
- Specified by:
setResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
- Throws:
javax.resource.ResourceException
validate
public void validate()
throws javax.resource.spi.InvalidPropertyException
- Specified by:
validate
in interface javax.resource.spi.ActivationSpec
- Throws:
javax.resource.spi.InvalidPropertyException
toString
public String toString()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.