public interface SpincastPlugin extends SpincastContextTypesInterested
| Modifier and Type | Method and Description |
|---|---|
com.google.inject.Module |
apply(com.google.inject.Module currentModule)
Applies the plugin.
|
void |
createdGuiceInjector(com.google.inject.Injector injector)
Once all the plugins have been applied,
this method is called with the resulting
Guice injector.
|
String |
getId()
The id of the plugin.
|
Set<String> |
getPluginsToDisable()
If required, the ids of plugins that shouldn't
be installed.
|
setRequestContextImplementationClass, setWebsocketContextImplementationClassString getId()
com.google.inject.Module apply(com.google.inject.Module currentModule)
The 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.
Set<String> getPluginsToDisable()
This plugin is repsonsible to bind any components that won't be bound because it mark some plugins as to be ignored.
void createdGuiceInjector(com.google.inject.Injector injector)
Copyright © 2018. All rights reserved.