public class DbTrackingModule extends BaseMsgTrackingModule
BaseMsgTrackingModule.FIELDS
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_DB_DIRECTORY |
static String |
PARAM_DB_NAME |
static String |
PARAM_DB_PWD |
static String |
PARAM_DB_USER |
static String |
PARAM_FORCE_LOAD_JDBC_DRIVER |
static String |
PARAM_JDBC_CONNECT_STRING |
static String |
PARAM_JDBC_DRIVER |
static String |
PARAM_JDBC_PARAMS |
static String |
PARAM_JDBC_SERVER_URL |
static String |
PARAM_TCP_SERVER_PORT |
static String |
PARAM_TCP_SERVER_PWD |
static String |
PARAM_TCP_SERVER_START |
static String |
PARAM_USE_EMBEDDED_DB |
DO_TRACK_MSG, TRACK_MSG_TCP_SERVER
Constructor and Description |
---|
DbTrackingModule() |
Modifier and Type | Method and Description |
---|---|
protected CompositeParameters |
createParser() |
protected String |
getModuleAction() |
boolean |
healthcheck(List<String> failures)
When invoked, the module must run a self check to verify it is functioning correctly.
|
void |
init(Session session,
Map<String,String> options)
Component lifecycle hook.
|
boolean |
isRunning() |
protected void |
persist(Message msg,
Map<String,String> map) |
void |
start() |
void |
stop() |
buildMap, canHandle, handle
destroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, getName, getParameters, getSession
public static final String PARAM_TCP_SERVER_START
public static final String PARAM_TCP_SERVER_PORT
public static final String PARAM_TCP_SERVER_PWD
public static final String PARAM_DB_USER
public static final String PARAM_DB_PWD
public static final String PARAM_DB_NAME
public static final String PARAM_DB_DIRECTORY
public static final String PARAM_JDBC_CONNECT_STRING
public static final String PARAM_JDBC_DRIVER
public static final String PARAM_JDBC_SERVER_URL
public static final String PARAM_JDBC_PARAMS
public static final String PARAM_USE_EMBEDDED_DB
public static final String PARAM_FORCE_LOAD_JDBC_DRIVER
public void init(Session session, Map<String,String> options) throws OpenAS2Exception
Component
init
in interface Component
init
in class BaseMsgTrackingModule
session
- the component uses this object to access other componentsoptions
- configuration values for the componentOpenAS2Exception
- If an error occurs while initializing the componentSession
protected String getModuleAction()
getModuleAction
in class BaseMsgTrackingModule
protected CompositeParameters createParser()
protected void persist(Message msg, Map<String,String> map)
persist
in class BaseMsgTrackingModule
public boolean isRunning()
public void start() throws OpenAS2Exception
OpenAS2Exception
public void stop()
public boolean healthcheck(List<String> failures)
ActiveModule
failures
- - a list of failures if any occurCopyright © 2018. All rights reserved.