public abstract class PollingModule extends MessageBuilderModule
PARAM_DEFAULTS, PARAM_DELIMITERS, PARAM_ERROR_DIRECTORY, PARAM_FORMAT, PARAM_MIMETYPE, PARAM_RESEND_MAX_RETRIES, PARAM_SENT_DIRECTORY
Constructor and Description |
---|
PollingModule() |
Modifier and Type | Method and Description |
---|---|
void |
doStart() |
void |
doStop() |
void |
init(Session session,
Map<String,String> options)
Component lifecycle hook.
|
abstract void |
poll() |
buildMessageData, buildMessageMetadata, createMessage, processDocument
canHandle, forceStop, handle, healthcheck, isRunning, start, stop, toString
destroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
healthcheck, isRunning, start, stop
canHandle, handle
destroy, getName, getParameters, getSession
public void init(Session session, Map<String,String> options) throws OpenAS2Exception
Component
init
in interface Component
init
in class MessageBuilderModule
session
- the component uses this object to access other componentsoptions
- configuration values for the componentOpenAS2Exception
- If an error occurs while initializing the componentSession
public abstract void poll()
public void doStart() throws OpenAS2Exception
doStart
in class BaseActiveModule
OpenAS2Exception
public void doStop() throws OpenAS2Exception
doStop
in class BaseActiveModule
OpenAS2Exception
Copyright © 2018. All rights reserved.