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, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getParameters, getSession, init
public List<ActiveModule> getActiveModules()
getActiveModules
in interface Processor
public List<ProcessorModule> getModules()
getModules
in interface Processor
public void handle(String action, Message msg, Map<Object,Object> options) throws OpenAS2Exception
handle
in interface Processor
OpenAS2Exception
public void startActiveModules() throws OpenAS2Exception
startActiveModules
in interface Processor
OpenAS2Exception
public void stopActiveModules()
stopActiveModules
in interface Processor
public boolean checkActiveModules(List<String> failures)
checkActiveModules
in interface Processor
public List<ActiveModule> getActiveModulesByClass(Class<?> clazz)
getActiveModulesByClass
in interface Processor
public void destroy() throws Exception
Component
Component
requires a destroy function this method can be used.destroy
in interface Component
destroy
in class BaseComponent
Exception
- Something went wrongComponent.init(Session, Map)
,
Session
Copyright © 2018. All rights reserved.