Package org.openas2.processor
Class DefaultProcessor
- java.lang.Object
-
- org.openas2.BaseComponent
-
- org.openas2.processor.DefaultProcessor
-
public class DefaultProcessor extends BaseComponent implements Processor
-
-
Field Summary
-
Fields inherited from interface org.openas2.processor.Processor
COMPID_PROCESSOR
-
-
Constructor Summary
Constructors Constructor Description DefaultProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckActiveModules(java.util.List<java.lang.String> failures)voiddestroy()Component lifecycle hook.java.util.List<ActiveModule>getActiveModules()java.util.List<ActiveModule>getActiveModulesByClass(java.lang.Class<?> clazz)java.util.List<ProcessorModule>getModules()voidhandle(java.lang.String action, Message msg, java.util.Map<java.lang.Object,java.lang.Object> options)voidstartActiveModules()voidstopActiveModules()-
Methods inherited from class org.openas2.BaseComponent
getName, getParameter, getParameter, getParameterInt, getParameters, getSession, init, setParameter, setParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openas2.Component
getName, getParameters, getSession, init
-
-
-
-
Method Detail
-
getActiveModules
public java.util.List<ActiveModule> getActiveModules()
- Specified by:
getActiveModulesin interfaceProcessor
-
getModules
public java.util.List<ProcessorModule> getModules()
- Specified by:
getModulesin interfaceProcessor
-
handle
public void handle(java.lang.String action, Message msg, java.util.Map<java.lang.Object,java.lang.Object> options) throws OpenAS2Exception- Specified by:
handlein interfaceProcessor- Throws:
OpenAS2Exception
-
startActiveModules
public void startActiveModules() throws OpenAS2Exception- Specified by:
startActiveModulesin interfaceProcessor- Throws:
OpenAS2Exception
-
stopActiveModules
public void stopActiveModules()
- Specified by:
stopActiveModulesin interfaceProcessor
-
checkActiveModules
public boolean checkActiveModules(java.util.List<java.lang.String> failures)
- Specified by:
checkActiveModulesin interfaceProcessor
-
getActiveModulesByClass
public java.util.List<ActiveModule> getActiveModulesByClass(java.lang.Class<?> clazz)
- Specified by:
getActiveModulesByClassin interfaceProcessor
-
destroy
public void destroy() throws java.lang.ExceptionDescription copied from interface:ComponentComponent lifecycle hook. If lifecycle ofComponentrequires a destroy function this method can be used.- Specified by:
destroyin interfaceComponent- Overrides:
destroyin classBaseComponent- Throws:
java.lang.Exception- Something went wrong- See Also:
Component.init(Session, Map),Session
-
-