Package org.zeroturnaround.javarebel
Interface RebelXmlIntegration
public interface RebelXmlIntegration
Provides hooks to
rebel.xml file handling.
These hooks are independent of all class loaders and Servlet Contexts.
To use it acquire an instance from RebelXmlIntegrationFactory
- Since:
- 4.0
- Author:
- Rein Raudjärv
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetRebelClassPathSources(File file) Tries to find arebel.xmlfrom the given directory root or JAR root and returns a corresponding source of each<classpath>element in therebel.xmlfound.getRebelWebSources(File file) getRebelWebSources(URL url)
-
Method Details
-
getRebelClassPathSources
Tries to find arebel.xmlfrom the given directory root or JAR root and returns a corresponding source of each<classpath>element in therebel.xmlfound.In case of
warelement correspondingWEB-INF/classesdirsource andWEB-INF/libjarsources are returned.Missing locations referred in the
rebel.xmlwill be skipped but warnings will be printed to the standard output and the log file.- Parameters:
file- directory or JAR file (must exist).- Returns:
- sources of class path elements
or
nullif norebel.xmlfound or no<classpath>elements found.
-
getRebelClassPathSources
-
getRebelWebSources
-
getRebelWebSources
-
getRebelResourceName
String getRebelResourceName()
-