public abstract class AbstractMessageProcessor extends AbstractDynamicComponent implements IMessageProcessor
IMessageProcessor. It provides all
methods except
IMessageProcessor.handle(String, com.helger.as2lib.message.IMessage, java.util.Map).m_aRWLock| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMessageProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addModule(IProcessorModule aModule) |
protected void |
executeAction(String sAction,
IMessage aMsg,
Map<String,Object> aOptions)
Execution the provided action with the registered modules.
|
com.helger.commons.collection.impl.ICommonsList<IProcessorActiveModule> |
getAllActiveModules() |
com.helger.commons.collection.impl.ICommonsList<IProcessorModule> |
getAllModules() |
<T extends IProcessorModule> |
getAllModulesOfClass(Class<T> aClass) |
int |
getModuleCount() |
<T extends IProcessorModule> |
getModuleOfClass(Class<T> aClass) |
com.helger.commons.state.EChange |
removeModule(IProcessorModule aModule) |
void |
startActiveModules() |
void |
stopActiveModules() |
attrs, equals, getAttributeAsIntRequired, getAttributeAsStringRequired, getName, getSession, hashCode, initDynamicComponent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waithandleattrs, getName, getSession, initDynamicComponentpublic void addModule(@Nonnull IProcessorModule aModule)
addModule in interface IMessageProcessor@Nonnull public com.helger.commons.state.EChange removeModule(@Nullable IProcessorModule aModule)
removeModule in interface IMessageProcessor@Nonnegative public int getModuleCount()
getModuleCount in interface IMessageProcessor@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<IProcessorModule> getAllModules()
getAllModules in interface IMessageProcessor@Nullable public <T extends IProcessorModule> T getModuleOfClass(@Nonnull Class<T> aClass)
getModuleOfClass in interface IMessageProcessor@Nonnull @ReturnsMutableCopy public <T extends IProcessorModule> com.helger.commons.collection.impl.ICommonsList<T> getAllModulesOfClass(@Nonnull Class<T> aClass)
getAllModulesOfClass in interface IMessageProcessor@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<IProcessorActiveModule> getAllActiveModules()
getAllActiveModules in interface IMessageProcessorpublic void startActiveModules()
startActiveModules in interface IMessageProcessorpublic void stopActiveModules()
stopActiveModules in interface IMessageProcessorprotected final void executeAction(@Nonnull String sAction, @Nonnull IMessage aMsg, @Nullable Map<String,Object> aOptions) throws OpenAS2Exception
sAction - Action to execute. Never null.aMsg - Message it is about. Never null.aOptions - Optional options map to be used. May be null.ProcessorExceptionOpenAS2ExceptionCopyright © 2013–2019 Philip Helger. All rights reserved.