|
GWTP Dispatch Server, Guice implementation 0.7-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.inject.AbstractModule
com.gwtplatform.dispatch.server.guice.DispatchModule
public class DispatchModule
This module will configure the implementation for the 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.
Nested Class Summary | |
---|---|
static class |
DispatchModule.Builder
A DispatchModule builder. |
Constructor Summary | |
---|---|
DispatchModule()
|
|
DispatchModule(Class<? extends Dispatch> dispatchClass)
Deprecated. |
|
DispatchModule(Class<? extends Dispatch> dispatchClass,
Class<? extends ActionHandlerValidatorRegistry> lazyActionHandlerValidatorRegistryClass)
Deprecated. |
Method Summary | |
---|---|
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 . |
Methods inherited from class com.google.inject.AbstractModule |
---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DispatchModule()
@Deprecated public DispatchModule(Class<? extends Dispatch> dispatchClass)
@Deprecated public DispatchModule(Class<? extends Dispatch> dispatchClass, Class<? extends ActionHandlerValidatorRegistry> lazyActionHandlerValidatorRegistryClass)
Method Detail |
---|
public boolean equals(Object obj)
Injector
.
equals
in class Object
public int hashCode()
Injector
.
hashCode
in class Object
protected final void configure()
configure
in class com.google.inject.AbstractModule
|
GWTP Dispatch Server, Guice implementation 0.7-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |