Package org.spincast.plugins.hotswap
Class SpincastHotSwapPlugin
java.lang.Object
org.spincast.core.guice.SpincastPluginBase
org.spincast.plugins.hotswap.SpincastHotSwapPlugin
- All Implemented Interfaces:
SpincastContextTypesInterested
,SpincastPlugin
Spincast HotSwap plugin.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.spincast.core.guice.SpincastPluginBase
createdGuiceInjector, getPluginsToDisable, getRequestContextImplementationClass, getWebsocketContextImplementationClass, setContextTypes, setRequestContextImplementationClass, setWebsocketContextImplementationClass
-
Field Details
-
PLUGIN_ID
-
-
Constructor Details
-
SpincastHotSwapPlugin
public SpincastHotSwapPlugin()
-
-
Method Details
-
getId
Description copied from interface:SpincastPlugin
The id of the plugin. -
apply
public com.google.inject.Module apply(com.google.inject.Module module) Description copied from interface:SpincastPlugin
Applies the plugin.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.
- Returns:
- an ajusted Guice module.
-
getPluginModule
protected com.google.inject.Module getPluginModule()
-