public abstract class BaseMsgTrackingModule extends BaseProcessorModule implements TrackingModule
Modifier and Type | Class and Description |
---|---|
static class |
BaseMsgTrackingModule.FIELDS |
DO_TRACK_MSG, TRACK_MSG_TCP_SERVER
Constructor and Description |
---|
BaseMsgTrackingModule() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
buildMap(Message msg,
Map<Object,Object> options) |
boolean |
canHandle(String action,
Message msg,
Map<Object,Object> options) |
protected abstract String |
getModuleAction() |
void |
handle(String action,
Message msg,
Map<Object,Object> options) |
void |
init(Session session,
Map<String,String> options)
Component lifecycle hook.
|
protected abstract void |
persist(Message msg,
Map<String,String> map) |
destroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
healthcheck, isRunning, start, stop
destroy, getName, getParameters, getSession
public void handle(String action, Message msg, Map<Object,Object> options) throws OpenAS2Exception
handle
in interface ProcessorModule
OpenAS2Exception
public boolean canHandle(String action, Message msg, Map<Object,Object> options)
canHandle
in interface ProcessorModule
public void init(Session session, Map<String,String> options) throws OpenAS2Exception
Component
init
in interface Component
init
in class BaseComponent
session
- the component uses this object to access other componentsoptions
- configuration values for the componentOpenAS2Exception
- If an error occurs while initializing the componentSession
protected abstract String getModuleAction()
Copyright © 2018. All rights reserved.