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 Details

    • getRebelClassPathSources

      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 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.

      Parameters:
      file - directory or JAR file (must exist).
      Returns:
      sources of class path elements or null if no rebel.xml found or no <classpath> elements found.
    • getRebelClassPathSources

      RebelSource[] getRebelClassPathSources(URL url)
    • getRebelWebSources

      RebelSource[] getRebelWebSources(File file)
    • getRebelWebSources

      RebelSource[] getRebelWebSources(URL url)
    • getRebelResourceName

      String getRebelResourceName()