play.i18n
Class MessagesPlugin
java.lang.Object
play.PlayPlugin
play.i18n.MessagesPlugin
- All Implemented Interfaces:
- Comparable<PlayPlugin>
public class MessagesPlugin
- extends PlayPlugin
Messages plugin
|
Method Summary |
void |
beforeInvocation()
Called before a Play! invocation. |
void |
detectChange()
It's time for the plugin to detect changes. |
void |
onApplicationStart()
Called at application start (and at each reloading)
Time to start statefull things. |
| Methods inherited from class play.PlayPlugin |
afterActionInvocation, afterApplicationStart, afterInvocation, beforeActionInvocation, beforeDetectingChanges, bind, compareTo, compileAll, enhance, getJsonStatus, getStatus, invocationFinally, onActionInvocationResult, onApplicationStop, onConfigurationRead, onEvent, onInvocationException, onLoad, onRoutesLoaded, postEvent, rawInvocation, routeRequest, serveStatic |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessagesPlugin
public MessagesPlugin()
onApplicationStart
public void onApplicationStart()
- Description copied from class:
PlayPlugin
- Called at application start (and at each reloading)
Time to start statefull things.
- Overrides:
onApplicationStart in class PlayPlugin
beforeInvocation
public void beforeInvocation()
- Description copied from class:
PlayPlugin
- Called before a Play! invocation.
Time to prepare request specific things.
- Overrides:
beforeInvocation in class PlayPlugin
detectChange
public void detectChange()
- Description copied from class:
PlayPlugin
- It's time for the plugin to detect changes.
Throw an exception is the application must be reloaded.
- Overrides:
detectChange in class PlayPlugin
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly