Package org.jboss.modules.xml
Interface ModuleXmlParser.ResourceRootFactory
-
- Enclosing class:
- ModuleXmlParser
public static interface ModuleXmlParser.ResourceRootFactory
A factory for resource roots, based on a root path, loader path, and loader name. Normally it is sufficient to accept the default.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceLoader
createResourceLoader(java.lang.String rootPath, java.lang.String loaderPath, java.lang.String loaderName)
static ModuleXmlParser.ResourceRootFactory
getDefault()
Get the default resource root factory.
-
-
-
Method Detail
-
createResourceLoader
ResourceLoader createResourceLoader(java.lang.String rootPath, java.lang.String loaderPath, java.lang.String loaderName) throws java.io.IOException
- Throws:
java.io.IOException
-
getDefault
static ModuleXmlParser.ResourceRootFactory getDefault()
Get the default resource root factory.- Returns:
- the default resource root factory (not
null
)
-
-