public class PollTableEntry extends AbstractPollTableEntry
Modifier and Type | Field and Description |
---|---|
static int |
DELETE |
static int |
MOVE |
FAILED, NONE, SUCCSESSFUL, WITH_ERRORS
Constructor and Description |
---|
PollTableEntry(org.apache.commons.logging.Log log) |
Modifier and Type | Method and Description |
---|---|
int |
getActionAfterFailure() |
int |
getActionAfterProcess() |
String |
getContentType() |
javax.mail.internet.InternetAddress |
getEmailAddress() |
EndpointReference[] |
getEndpointReferences(AxisService service,
String ip)
Get the endpoint references for this protocol endpoint.
|
String |
getFolder() |
int |
getMaxRetryCount() |
String |
getMoveAfterFailure() |
String |
getMoveAfterProcess() |
String |
getPassword() |
String |
getProtocol()
Get the mail store protocol.
|
long |
getReconnectTimeout() |
javax.mail.internet.InternetAddress |
getReplyAddress() |
javax.mail.Session |
getSession() |
String |
getUserName() |
String |
getXServicePath() |
boolean |
isProcessingMailInParallel() |
boolean |
isProcessingUID(String uid) |
boolean |
loadConfiguration(ParameterInclude paramIncl)
Configure the endpoint based on the provided parameters.
|
void |
processingUID(String uid) |
void |
removeUID(String uid) |
boolean |
retainHeader(String name) |
getLastPollState, getLastPollTime, getNextPollTime, getPollInterval, isConcurrentPollingAllowed, setConcurrentPollingAllowed, setLastPollState, setLastPollTime, setNextPollTime, setPollInterval
createMessageContext, getConfigurationContext, getDescription, getListener, getService, getServiceName
public static final int DELETE
public static final int MOVE
public EndpointReference[] getEndpointReferences(AxisService service, String ip)
ProtocolEndpoint
getEndpointReferences
in class ProtocolEndpoint
service
- The service to build the EPR for. If ProtocolEndpoint.getService()
returns
a non null value, then it has the same value as this parameter, which
is never null.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)
.TransportListener.getEPRsForService(String, String)
public javax.mail.internet.InternetAddress getEmailAddress()
public String getUserName()
public String getPassword()
public String getXServicePath()
public String getContentType()
public int getActionAfterProcess()
public int getActionAfterFailure()
public String getMoveAfterProcess()
public String getMoveAfterFailure()
public int getMaxRetryCount()
public long getReconnectTimeout()
public String getFolder()
public javax.mail.internet.InternetAddress getReplyAddress()
public String getProtocol()
Session.getStore()
.public javax.mail.Session getSession()
public boolean retainHeader(String name)
public boolean isProcessingMailInParallel()
public boolean loadConfiguration(ParameterInclude paramIncl) throws AxisFault
ProtocolEndpoint
false
. An exception should only be thrown if there is an
error or inconsistency in the parameters.loadConfiguration
in class AbstractPollTableEntry
paramIncl
- The source of the parameters to configure the
endpoint. If the parameters are defined on
a service, this will be an AxisService
instance.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 parametersAxisFault
- if configuration information is present, but there is an
error or inconsistency in the parameterspublic void processingUID(String uid)
public boolean isProcessingUID(String uid)
public void removeUID(String uid)
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.