Package io.github.connellite.jcl.context
Class XmlContextLoader
- java.lang.Object
-
- io.github.connellite.jcl.context.XmlContextLoader
-
- All Implemented Interfaces:
JclContextLoader
public class XmlContextLoader extends Object implements JclContextLoader
The class loads the JclContext from XML file. See the documentation and schema for more details on how to write the JCL context xml.- Author:
- Kamran
-
-
Constructor Summary
Constructors Constructor Description XmlContextLoader(String file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPathResolver(PathResolver pr)voidloadContext()Loads the JCL context from XML filevoidunloadContext()Unloads the context
-
-
-
Constructor Detail
-
XmlContextLoader
public XmlContextLoader(String file)
-
-
Method Detail
-
loadContext
public void loadContext()
Loads the JCL context from XML file- Specified by:
loadContextin interfaceJclContextLoader- See Also:
JclContextLoader.loadContext()
-
unloadContext
public void unloadContext()
Unloads the context- Specified by:
unloadContextin interfaceJclContextLoader- See Also:
JclContextLoader.unloadContext()
-
addPathResolver
public void addPathResolver(PathResolver pr)
-
-