public interface RebelXmlIntegration
rebel.xml file handling.
These hooks are independent of all class loaders and Servlet Contexts.
To use it acquire an instance from RebelXmlIntegrationFactory
RebelXmlIntegrationFactory| Modifier and Type | Method and Description |
|---|---|
RebelSource[] |
getRebelClassPathSources(File file)
Tries to find a
rebel.xml from the given directory root or JAR root
and returns a corresponding source of each <classpath> element
in the |
RebelSource[] |
getRebelClassPathSources(URL url) |
RebelSource[] |
getRebelWebSources(File file) |
RebelSource[] |
getRebelWebSources(URL url) |
RebelSource[] getRebelClassPathSources(File file)
rebel.xml from the given directory root or JAR root
and returns a corresponding source of each <classpath> element
in the rebel.xml found.
In case of war element corresponding WEB-INF/classes
dir source and WEB-INF/lib jar sources are returned.
Missing locations referred in the rebel.xml will be skipped
but warnings will be printed to the standard output and the log file.
file - directory or JAR file (must exist).null if no rebel.xml found
or no <classpath> elements found.RebelSource[] getRebelClassPathSources(URL url)
RebelSource[] getRebelWebSources(File file)
RebelSource[] getRebelWebSources(URL url)
Copyright © 2017. All rights reserved.