Package org.openas2.processor
Interface ActiveModule
-
- All Superinterfaces:
Component
,ProcessorModule
- All Known Subinterfaces:
ReceiverModule
,TrackingModule
- All Known Implementing Classes:
AS2DirectoryPollingModule
,AS2FileReceiverModule
,AS2MDNReceiverModule
,AS2ReceiverModule
,BaseActiveModule
,BaseMsgTrackingModule
,BaseReceiverModule
,BaseResenderModule
,DbTrackingModule
,DirectoryPollingModule
,DirectoryResenderModule
,EmbeddedDBHandler
,HealthCheckModule
,MessageBuilderModule
,NetModule
,PollingModule
public interface ActiveModule extends ProcessorModule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
healthcheck(java.util.List<java.lang.String> failures)
When invoked, the module must run a self check to verify it is functioning correctly.boolean
isRunning()
void
start()
void
stop()
-
Methods inherited from interface org.openas2.Component
destroy, getName, getParameters, getSession, init
-
Methods inherited from interface org.openas2.processor.ProcessorModule
canHandle, handle
-
-
-
-
Method Detail
-
isRunning
boolean isRunning()
-
start
void start() throws OpenAS2Exception
- Throws:
OpenAS2Exception
-
stop
void stop() throws OpenAS2Exception
- Throws:
OpenAS2Exception
-
healthcheck
boolean healthcheck(java.util.List<java.lang.String> failures)
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- 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
-
-