play.plugins
类 ConfigurablePluginDisablingPlugin

java.lang.Object
  继承者 play.PlayPlugin
      继承者 play.plugins.ConfigurablePluginDisablingPlugin
所有已实现的接口:
java.lang.Comparable<PlayPlugin>

public class ConfigurablePluginDisablingPlugin
extends PlayPlugin

Plugin that reads list of plugins to disable from application.conf To disable plugins, specify it like this in application.conf: plugins.disable=full-plugin-class-name plugins.disable.0=full-plugin-class-name plugins.disable.1=full-plugin-class-name plugins.disable.whatever=full-plugin-class-name


字段摘要
protected static java.util.Set<java.lang.String> previousDisabledPlugins
          List holding all disabled plugins.
 
从类 play.PlayPlugin 继承的字段
index
 
构造方法摘要
ConfigurablePluginDisablingPlugin()
           
 
方法摘要
 void onConfigurationRead()
          Called when the application.conf has been read.
 
从类 play.PlayPlugin 继承的方法
addMimeTypes, addTemplateExtensions, afterActionInvocation, afterApplicationStart, afterFixtureLoad, afterInvocation, beforeActionInvocation, beforeDetectingChanges, beforeInvocation, bind, bind, bind, bindBean, compareTo, compileAll, compileSources, detectChange, detectClassesChange, enhance, getJsonStatus, getMessage, getStatus, invocationFinally, loadTemplate, modelFactory, onActionInvocationResult, onApplicationReady, onApplicationStart, onApplicationStop, onClassesChange, onEvent, onInvocationException, onInvocationSuccess, onLoad, onRequestRouting, onRoutesLoaded, onTemplateCompilation, overrideTemplateSource, postEvent, rawInvocation, routeRequest, runTest, serveStatic, unBind, willBeValidated
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

previousDisabledPlugins

protected static final java.util.Set<java.lang.String> previousDisabledPlugins
List holding all disabled plugins. when reloading config, we have to enable hem again, in case, they are no longer listed in the "disable plugins"-section

构造方法详细信息

ConfigurablePluginDisablingPlugin

public ConfigurablePluginDisablingPlugin()
方法详细信息

onConfigurationRead

public void onConfigurationRead()
从类 PlayPlugin 复制的描述
Called when the application.conf has been read.

覆盖:
PlayPlugin 中的 onConfigurationRead


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly