com.google.gwt.inject.client
Class AbstractGinModule
java.lang.Object
com.google.gwt.inject.client.AbstractGinModule
- All Implemented Interfaces:
- GinModule
public abstract class AbstractGinModule
- extends java.lang.Object
- implements GinModule
GIN counterpart of Guice's AbstractModule
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractGinModule
public AbstractGinModule()
configure
public final void configure(GinBinder binder)
- Specified by:
configure
in interface GinModule
configure
protected abstract void configure()
bind
protected final <T> GinAnnotatedBindingBuilder<T> bind(java.lang.Class<T> clazz)
bind
protected final <T> GinAnnotatedBindingBuilder<T> bind(TypeLiteral<T> type)
bind
protected final <T> GinLinkedBindingBuilder<T> bind(Key<T> key)
bindConstant
protected final GinAnnotatedConstantBindingBuilder bindConstant()
install
protected final void install(GinModule install)
requestStaticInjection
protected void requestStaticInjection(java.lang.Class<?>... types)
binder
protected GinBinder binder()