public class ConfigurationChangeWatcherPlugin extends PlayPlugin
PlayPlugin.Filter<T>
Modifier and Type | Field and Description |
---|---|
protected static long |
configLastModified |
index
Constructor and Description |
---|
ConfigurationChangeWatcherPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
detectChange()
It's time for the plugin to detect changes.
|
void |
onApplicationStart()
Called at application start (and at each reloading) Time to start stateful things.
|
protected void |
onConfigurationFileChanged(VirtualFile conf) |
void |
onConfigurationRead()
Called when the application.conf has been read.
|
addMimeTypes, addTemplateExtensions, afterActionInvocation, afterApplicationStart, afterFixtureLoad, afterInvocation, beforeActionInvocation, beforeDetectingChanges, beforeInvocation, bind, bind, bind, bindBean, compareTo, compileAll, compileSources, detectClassesChange, enhance, getFilter, getFunctionalTests, getJsonStatus, getMessage, getStatus, getUnitTests, hasFilter, invocationFinally, loadTemplate, modelFactory, onActionInvocationFinally, onActionInvocationResult, onApplicationReady, onApplicationStop, onClassesChange, onEvent, onInvocationException, onInvocationSuccess, onLoad, onRequestRouting, onRoutesLoaded, onTemplateCompilation, overrideTemplateSource, postEvent, rawInvocation, routeRequest, runTest, serveStatic, unBind, willBeValidated
public void onApplicationStart()
PlayPlugin
onApplicationStart
in class PlayPlugin
public void onConfigurationRead()
PlayPlugin
onConfigurationRead
in class PlayPlugin
public void detectChange()
PlayPlugin
detectChange
in class PlayPlugin
protected void onConfigurationFileChanged(VirtualFile conf)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly