| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.inject.client.PrivateGinModule
public abstract class PrivateGinModule
Gin counterpart of Guice's PrivateModule.
| Constructor Summary | |
|---|---|
| PrivateGinModule() | |
| Method Summary | ||
|---|---|---|
| protected 
 | bind(java.lang.Class<T> clazz) | |
| protected 
 | bind(Key<T> key) | |
| protected 
 | bind(TypeLiteral<T> type) | |
| protected  GinAnnotatedConstantBindingBuilder | bindConstant() | |
| protected  PrivateGinBinder | binder()Returns the current binder. | |
| protected abstract  void | configure()Creates bindings and other configurations private to this module. | |
|  void | configure(GinBinder binder)Contributes bindings and other configurations for this module to binder. | |
| protected  GinAnnotatedElementBuilder | expose(java.lang.Class<?> type)Makes a binding for typeavailable to other modules and the injector. | |
| protected 
 | expose(Key<T> key)Makes the binding for keyavailable to other modules and the injector. | |
| protected  GinAnnotatedElementBuilder | expose(TypeLiteral<?> type)Makes a binding for typeavailable to other modules and the injector. | |
| protected  void | install(GinModule install) | |
| protected  void | requestStaticInjection(java.lang.Class<?>... types) | |
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PrivateGinModule()
| Method Detail | 
|---|
public void configure(GinBinder binder)
GinModulebinder.
configure in interface GinModuleprotected abstract void configure()
expose() to make the bindings in this module available externally.
protected final <T> void expose(Key<T> key)
key available to other modules and the injector.
protected final GinAnnotatedElementBuilder expose(java.lang.Class<?> type)
type available to other modules and the injector.  Use annotatedWith() to expose type
 with a binding annotation.
protected final GinAnnotatedElementBuilder expose(TypeLiteral<?> type)
type available to other modules and the injector.  Use annotatedWith() to expose type
 with a binding annotation.
protected final PrivateGinBinder binder()
protected final <T> GinAnnotatedBindingBuilder<T> bind(java.lang.Class<T> clazz)
protected final <T> GinAnnotatedBindingBuilder<T> bind(TypeLiteral<T> type)
protected final <T> GinLinkedBindingBuilder<T> bind(Key<T> key)
protected final GinAnnotatedConstantBindingBuilder bindConstant()
protected final void install(GinModule install)
protected void requestStaticInjection(java.lang.Class<?>... types)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||