Package io.datarouter.inject.guice
Class BasePlugin
java.lang.Object
com.google.inject.AbstractModule
io.datarouter.inject.guice.BaseGuiceModule
io.datarouter.inject.guice.BasePlugin
- All Implemented Interfaces:
com.google.inject.Module,GuiceOptionalBinder
public abstract class BasePlugin extends BaseGuiceModule
-
Constructor Summary
Constructors Constructor Description BasePlugin() -
Method Summary
Modifier and Type Method Description BaseGuiceModulegetAsDefaultBinderModule()This is experimental.StringgetName()The name is used to identify which plugins have already been added, and which can be overridden.Methods inherited from class io.datarouter.inject.guice.BaseGuiceModule
bindUnsupported, getGuiceBinderMethods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.inject.guice.GuiceOptionalBinder
bindActual, bindActualInstance, bindActualInstance, bindActualInstance, bindDefault, bindDefaultInstance, bindDefaultInstance, bindDefaultInstance, optionalBinder, optionalBinder, optionalBinder
-
Constructor Details
-
BasePlugin
public BasePlugin()
-
-
Method Details
-
getName
The name is used to identify which plugins have already been added, and which can be overridden. Names have to be unique and can be easily changed.- Returns:
- the name of the plugin
-
getAsDefaultBinderModule
This is experimental.
-