public class DefaultProcessor extends BaseComponent implements Processor
COMPID_PROCESSOR| Constructor and Description |
|---|
DefaultProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkActiveModules(List<String> failures) |
void |
destroy()
Component lifecycle hook.
|
List<ActiveModule> |
getActiveModules() |
List<ActiveModule> |
getActiveModulesByClass(Class<?> clazz) |
List<ProcessorModule> |
getModules() |
void |
handle(String action,
Message msg,
Map<Object,Object> options) |
void |
startActiveModules() |
void |
stopActiveModules() |
getName, getParameter, getParameter, getParameterInt, getParameters, getSession, init, setParameter, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getParameters, getSession, initpublic List<ActiveModule> getActiveModules()
getActiveModules in interface Processorpublic List<ProcessorModule> getModules()
getModules in interface Processorpublic void handle(String action, Message msg, Map<Object,Object> options) throws OpenAS2Exception
handle in interface ProcessorOpenAS2Exceptionpublic void startActiveModules()
throws OpenAS2Exception
startActiveModules in interface ProcessorOpenAS2Exceptionpublic void stopActiveModules()
stopActiveModules in interface Processorpublic boolean checkActiveModules(List<String> failures)
checkActiveModules in interface Processorpublic List<ActiveModule> getActiveModulesByClass(Class<?> clazz)
getActiveModulesByClass in interface Processorpublic void destroy()
throws Exception
ComponentComponent requires a destroy function this method can be used.destroy in interface Componentdestroy in class BaseComponentException - Something went wrongComponent.init(Session, Map),
SessionCopyright © 2019. All rights reserved.