public class SpincastConfigPlugin extends SpincastPluginBase
| Constructor and Description |
|---|
SpincastConfigPlugin()
Constructor
|
SpincastConfigPlugin(Class<? extends SpincastConfig> specificConfigImplClass)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
com.google.inject.Module |
apply(com.google.inject.Module module)
Applies the plugin.
|
String |
getId()
The id of the plugin.
|
protected com.google.inject.Module |
getPluginModule(Class<? extends SpincastConfig> specificConfigImplClass) |
protected Class<? extends SpincastConfig> |
getSpecificConfigImplClass() |
createdGuiceInjector, getPluginsToDisable, getRequestContextImplementationClass, getWebsocketContextImplementationClass, setContextTypes, setRequestContextImplementationClass, setWebsocketContextImplementationClasspublic static final String PLUGIN_ID
public SpincastConfigPlugin()
public SpincastConfigPlugin(Class<? extends SpincastConfig> specificConfigImplClass)
specificConfigImplClass - the specific
configuration implementation class to use.public String getId()
SpincastPluginprotected Class<? extends SpincastConfig> getSpecificConfigImplClass()
public com.google.inject.Module apply(com.google.inject.Module module)
SpincastPluginThe plugin can add bindings to the current Guice module, can modify it and can inspect it in order to decide what to bind or not.
protected com.google.inject.Module getPluginModule(Class<? extends SpincastConfig> specificConfigImplClass)
Copyright © 2018. All rights reserved.