Class AS2FileReceiverModule
- java.lang.Object
-
- org.openas2.BaseComponent
-
- org.openas2.processor.BaseProcessorModule
-
- org.openas2.processor.BaseActiveModule
-
- org.openas2.processor.receiver.BaseReceiverModule
-
- org.openas2.processor.receiver.MessageBuilderModule
-
- org.openas2.processor.receiver.api.AS2FileReceiverModule
-
- All Implemented Interfaces:
Component
,ActiveModule
,ProcessorModule
,ReceiverModule
public class AS2FileReceiverModule extends MessageBuilderModule
-
-
Field Summary
-
Fields inherited from class org.openas2.processor.receiver.MessageBuilderModule
PARAM_DEFAULTS, PARAM_DELIMITERS, PARAM_ERROR_DIRECTORY, PARAM_ERROR_FILENAME, PARAM_FORMAT, PARAM_MERGE_EXTRA, PARAM_MIMETYPE, PARAM_RESEND_MAX_RETRIES, PARAM_SENT_DIRECTORY, PARAM_SENT_FILENAME
-
-
Constructor Summary
Constructors Constructor Description AS2FileReceiverModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AS2Message
createMessage()
void
doStart()
void
doStop()
boolean
healthcheck(java.util.List<java.lang.String> failures)
When invoked, the module must run a self check to verify it is functioning correctly.-
Methods inherited from class org.openas2.processor.receiver.MessageBuilderModule
buildMessageData, buildMessageMetadata, createParser, init, processDocument
-
Methods inherited from class org.openas2.processor.BaseActiveModule
canHandle, forceStop, handle, isRunning, start, stop, toString
-
Methods inherited from class org.openas2.BaseComponent
destroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openas2.processor.ActiveModule
isRunning, start, stop
-
Methods inherited from interface org.openas2.Component
destroy, getName, getParameters, getSession
-
Methods inherited from interface org.openas2.processor.ProcessorModule
canHandle, handle
-
-
-
-
Method Detail
-
createMessage
protected AS2Message createMessage()
- Specified by:
createMessage
in classMessageBuilderModule
-
doStart
public void doStart()
- Specified by:
doStart
in classBaseActiveModule
-
doStop
public void doStop()
- Specified by:
doStop
in classBaseActiveModule
-
healthcheck
public boolean healthcheck(java.util.List<java.lang.String> failures)
Description copied from interface:ActiveModule
When invoked, the module must run a self check to verify it is functioning correctly. Any failures must be reported in the failures list passed in to the method by the callee- Specified by:
healthcheck
in interfaceActiveModule
- Specified by:
healthcheck
in classBaseActiveModule
- Parameters:
failures
- - a list of failures if any occur- Returns:
- - true if module has no problems otherwise false ith failure messages in passed in List
-
-