Class WatchResourcesPlugin


  • @Plugin(name="WatchResources",
            description="Support for watchResources configuration property.",
            testedVersions="JDK 1.7.0_45",
            expectedVersions="JDK 1.6+")
    public class WatchResourcesPlugin
    extends Object
    Support for watchResources configuration property. This plugin creates special WatchResourcesClassLoader witch returns only modified resources on watchResources path. It then modifies application classloader to look for resources first in WatchResourcesClassLoader and only if the resource is not found, standard execution proceeds. Works for any java.net.URLClassLoader which delegates to URLClassPath property to findResource() (typical scenario).
    • Constructor Detail

      • WatchResourcesPlugin

        public WatchResourcesPlugin()