public class SpincastRoutingPlugin extends SpincastPluginBase
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
static String |
PLUGIN_ID |
| Constructor and Description |
|---|
SpincastRoutingPlugin() |
SpincastRoutingPlugin(Class<? extends Router<?,?>> specificRouterImplementationClass) |
| 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 Router<?,?>> specificRouterImplementationClass) |
protected Class<? extends Router<?,?>> |
getSpecificRouterImplementationClass() |
createdGuiceInjector, getPluginsToDisable, getRequestContextImplementationClass, getWebsocketContextImplementationClass, setContextTypes, setRequestContextImplementationClass, setWebsocketContextImplementationClassprotected final org.slf4j.Logger logger
public static final String PLUGIN_ID
protected Class<? extends Router<?,?>> getSpecificRouterImplementationClass()
public String getId()
SpincastPluginpublic 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.
Copyright © 2018. All rights reserved.