org.apache.axis2.transport.mail
Class PollTableEntry
java.lang.Object
org.apache.axis2.transport.base.ProtocolEndpoint
org.apache.axis2.transport.base.AbstractPollTableEntry
org.apache.axis2.transport.mail.PollTableEntry
public class PollTableEntry
- extends AbstractPollTableEntry
Holds information about an entry in the VFS transport poll table used by the
VFS Transport Listener
Constructor Summary |
PollTableEntry(org.apache.commons.logging.Log log)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELETE
public static final int DELETE
- See Also:
- Constant Field Values
MOVE
public static final int MOVE
- See Also:
- Constant Field Values
PollTableEntry
public PollTableEntry(org.apache.commons.logging.Log log)
getEndpointReferences
public org.apache.axis2.addressing.EndpointReference[] getEndpointReferences(java.lang.String ip)
- Description copied from class:
ProtocolEndpoint
- Get the endpoint references for this protocol endpoint.
- Specified by:
getEndpointReferences
in class ProtocolEndpoint
- Parameters:
ip
- The host name or IP address of the local host. The implementation should use
this information instead of InetAddress.getLocalHost()
.
The value of this parameter may be null
, in which case the
implementation should use Utils.getIpAddress(
org.apache.axis2.engine.AxisConfiguration)
.
- Returns:
- an array of endpoint references
- See Also:
TransportListener.getEPRsForService(String, String)
getEmailAddress
public javax.mail.internet.InternetAddress getEmailAddress()
getUserName
public java.lang.String getUserName()
getPassword
public java.lang.String getPassword()
getXServicePath
public java.lang.String getXServicePath()
getContentType
public java.lang.String getContentType()
getActionAfterProcess
public int getActionAfterProcess()
getActionAfterFailure
public int getActionAfterFailure()
getMoveAfterProcess
public java.lang.String getMoveAfterProcess()
getMoveAfterFailure
public java.lang.String getMoveAfterFailure()
getMaxRetryCount
public int getMaxRetryCount()
getReconnectTimeout
public long getReconnectTimeout()
getFolder
public java.lang.String getFolder()
getReplyAddress
public javax.mail.internet.InternetAddress getReplyAddress()
getProtocol
public java.lang.String getProtocol()
- Get the mail store protocol.
This protocol identifier is used in calls to
Session.getStore()
.
- Returns:
- the mail store protocol
getSession
public javax.mail.Session getSession()
retainHeader
public boolean retainHeader(java.lang.String name)
isProcessingMailInParallel
public boolean isProcessingMailInParallel()
loadConfiguration
public boolean loadConfiguration(org.apache.axis2.description.ParameterInclude paramIncl)
throws org.apache.axis2.AxisFault
- Description copied from class:
ProtocolEndpoint
- Configure the endpoint based on the provided parameters.
If no relevant parameters are found, the implementation should
return
false
. An exception should only be thrown if there is an
error or inconsistency in the parameters.
- Overrides:
loadConfiguration
in class AbstractPollTableEntry
- Parameters:
paramIncl
- The source of the parameters to construct the
poll table entry. If the parameters are defined on
a service, this will be an AxisService
instance.
- Returns:
true
if the parameters contained the required configuration
information and the endpoint has been configured, false
if
the no configuration for the endpoint is present in the parameters
- Throws:
org.apache.axis2.AxisFault
- if configuration information is present, but there is an
error or inconsistency in the parameters
processingUID
public void processingUID(java.lang.String uid)
isProcessingUID
public boolean isProcessingUID(java.lang.String uid)
removeUID
public void removeUID(java.lang.String uid)
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.