public class SpincastDictionaryPlugin extends SpincastPluginBase
| Constructor and Description |
|---|
SpincastDictionaryPlugin()
Constructor
|
SpincastDictionaryPlugin(Class<? extends Dictionary> dictionaryImplClass)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
com.google.inject.Module |
apply(com.google.inject.Module module)
Applies the plugin.
|
protected Class<? extends Dictionary> |
getDictionaryImplClass() |
String |
getId()
The id of the plugin.
|
protected com.google.inject.Module |
getPluginModule(Class<? extends Dictionary> dictionaryImplClass) |
createdGuiceInjector, getPluginsToDisable, getRequestContextImplementationClass, getWebsocketContextImplementationClass, setContextTypes, setRequestContextImplementationClass, setWebsocketContextImplementationClasspublic static final String PLUGIN_ID
public SpincastDictionaryPlugin()
public SpincastDictionaryPlugin(Class<? extends Dictionary> dictionaryImplClass)
dictionaryImplClass - the specific
dictionary implementation class to use.public String getId()
SpincastPluginprotected Class<? extends Dictionary> getDictionaryImplClass()
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 Dictionary> dictionaryImplClass)
Copyright © 2018. All rights reserved.