public abstract class AbstractActiveModule extends AbstractProcessorModule implements IProcessorActiveModule
IProcessorActiveModule derived from
AbstractProcessorModule.m_aRWLock| Constructor and Description |
|---|
AbstractActiveModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
abstract void |
doStart()
Implement the internal start logic.
|
abstract void |
doStop()
Implement the internal stop logic.
|
void |
forceStop(Exception aCause) |
void |
handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
boolean |
isRunning() |
void |
start() |
void |
stop() |
String |
toString() |
attrs, equals, getAttributeAsIntRequired, getAttributeAsStringRequired, getName, getSession, hashCode, initDynamicComponentclone, finalize, getClass, notify, notifyAll, wait, wait, waitattrs, getName, getSession, initDynamicComponentpublic final boolean isRunning()
isRunning in interface IProcessorActiveModule@OverrideOnDemand public boolean canHandle(@Nonnull String sAction, @Nonnull IMessage aMsg, @Nullable Map<String,Object> aOptions)
canHandle in interface IProcessorModulepublic void handle(@Nonnull String sAction, @Nonnull IMessage aMsg, @Nullable Map<String,Object> aOptions) throws OpenAS2Exception
handle in interface IProcessorModuleOpenAS2Exceptionpublic abstract void doStart()
throws OpenAS2Exception
OpenAS2Exception - In case of an error.public void start()
throws OpenAS2Exception
start in interface IProcessorActiveModuleOpenAS2Exceptionpublic abstract void doStop()
throws OpenAS2Exception
OpenAS2Exception - In case of an error.public void stop()
throws OpenAS2Exception
stop in interface IProcessorActiveModuleOpenAS2Exceptionpublic String toString()
toString in class AbstractDynamicComponentCopyright © 2013–2019 Philip Helger. All rights reserved.