public.javadoc.org.spincast.plugins.hotswap.SpincastHotSwapPlugin.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastHotSwapPlugin (org.spincast:spincast-framework 1.14.0 API)
org.spincast.plugins.hotswap
Class SpincastHotSwapPlugin
- java.lang.Object
-
- org.spincast.core.guice.SpincastPluginBase
-
- org.spincast.plugins.hotswap.SpincastHotSwapPlugin
-
- All Implemented Interfaces:
- SpincastContextTypesInterested, SpincastPlugin
public class SpincastHotSwapPlugin
extends SpincastPluginBase
Spincast HotSwap plugin.
-
-
Constructor Summary
Constructors
Constructor and Description
SpincastHotSwapPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods
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()
-
Methods inherited from class org.spincast.core.guice.SpincastPluginBase
createdGuiceInjector, getPluginsToDisable, getRequestContextImplementationClass, getWebsocketContextImplementationClass, setContextTypes, setRequestContextImplementationClass, setWebsocketContextImplementationClass
-
-
Field Detail
-
PLUGIN_ID
public static final String PLUGIN_ID
-
Method Detail
-
getId
public String 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()
Copyright © 2019. All rights reserved.