public class DispatchModule extends AbstractModule
Dispatch
and ActionHandlerValidatorRegistry
interfaces. Also every
ActionHandler
and
ActionValidator
will be loaded lazily.
If you want to override the defaults (DispatchImpl
, LazyActionHandlerValidatorRegistryImpl
pass
the override values into the constructor for this module and ensure it is installed before any
HandlerModule
instances.Modifier and Type | Class and Description |
---|---|
static class |
DispatchModule.Builder
A DispatchModule builder.
|
Constructor and Description |
---|
DispatchModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
boolean |
equals(Object obj)
Override so that only one instance of this class will ever be installed in an
Injector . |
int |
hashCode()
Override so that only one instance of this class will ever be installed in an
Injector . |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public boolean equals(Object obj)
Injector
.public int hashCode()
Injector
.protected final void configure()
configure
in class AbstractModule
Copyright © 2010–2014 Arcbees. All rights reserved.