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, setCommands
destroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, getName, getParameters, getSession
public static final String PARAM_FILENAME
public void init(Session session, Map<String,String> parameters) throws OpenAS2Exception
Component
init
in interface Component
init
in class BaseComponent
session
- the component uses this object to access other componentsparameters
- configuration values for the componentOpenAS2Exception
- If an error occurs while initializing the componentSession
public void load(InputStream in) throws ParserConfigurationException, SAXException, IOException, OpenAS2Exception
public void refresh() throws OpenAS2Exception
OpenAS2Exception
protected void loadCommand(Node node, MultiCommand parent) throws OpenAS2Exception
OpenAS2Exception
protected void loadMultiCommand(Node node, MultiCommand parent) throws OpenAS2Exception
OpenAS2Exception
Copyright © 2018. All rights reserved.