Class WatchResourcesPlugin
- java.lang.Object
-
- org.hotswap.agent.plugin.watchResources.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 Summary
Constructors Constructor Description WatchResourcesPlugin()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidinit(PluginManager pluginManager, PluginConfiguration pluginConfiguration, ClassLoader appClassLoader)For each classloader check for watchResources configuration instance with hotswapper.
-
-
-
Method Detail
-
init
@Init public static void init(PluginManager pluginManager, PluginConfiguration pluginConfiguration, ClassLoader appClassLoader)
For each classloader check for watchResources configuration instance with hotswapper.
-
-