Package org.zeroturnaround.javarebel
Interface RebelXmlIntegration
-
public interface RebelXmlIntegrationProvides hooks torebel.xmlfile 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:
RebelXmlIntegrationFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RebelSource[]getRebelClassPathSources(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.RebelSource[]getRebelClassPathSources(URL url)StringgetRebelResourceName()RebelSource[]getRebelWebSources(File file)RebelSource[]getRebelWebSources(URL url)
-
-
-
Method Detail
-
getRebelClassPathSources
RebelSource[] getRebelClassPathSources(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.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
RebelSource[] getRebelClassPathSources(URL url)
-
getRebelWebSources
RebelSource[] getRebelWebSources(File file)
-
getRebelWebSources
RebelSource[] getRebelWebSources(URL url)
-
getRebelResourceName
String getRebelResourceName()
-
-