public class XMLCommandRegistry extends BaseCommandRegistry
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_FILENAME |
| Constructor and Description |
|---|
XMLCommandRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Session session,
Map<String,String> parameters)
Component lifecycle hook.
|
void |
load(InputStream in) |
protected void |
loadCommand(Node node,
MultiCommand parent) |
protected void |
loadMultiCommand(Node node,
MultiCommand parent) |
void |
refresh() |
getCommands, setCommandsdestroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getName, getParameters, getSessionpublic static final String PARAM_FILENAME
public void init(Session session, Map<String,String> parameters) throws OpenAS2Exception
Componentinit in interface Componentinit in class BaseComponentsession - the component uses this object to access other componentsparameters - configuration values for the componentOpenAS2Exception - If an error occurs while initializing the componentSessionpublic void load(InputStream in) throws ParserConfigurationException, SAXException, IOException, OpenAS2Exception
public void refresh()
throws OpenAS2Exception
OpenAS2Exceptionprotected void loadCommand(Node node, MultiCommand parent) throws OpenAS2Exception
OpenAS2Exceptionprotected void loadMultiCommand(Node node, MultiCommand parent) throws OpenAS2Exception
OpenAS2ExceptionCopyright © 2019. All rights reserved.