|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.inject.rebind.adapter.PrivateBinderAdapter
public class PrivateBinderAdapter
Provides the PrivateGinBinder interface and adapts it to a regular Guice
PrivateBinder.
| Method Summary | ||
|---|---|---|
|
bind(java.lang.Class<T> clazz)
See the EDSL examples at GinBinder |
|
|
bind(Key<T> key)
See the EDSL examples at GinBinder |
|
|
bind(TypeLiteral<T> clazz)
See the EDSL examples at GinBinder |
|
GinAnnotatedConstantBindingBuilder |
bindConstant()
See the EDSL examples at GinBinder |
|
GinAnnotatedElementBuilder |
expose(java.lang.Class<?> type)
Expose the given class. |
|
void |
expose(Key<?> key)
Expose the given key. |
|
GinAnnotatedElementBuilder |
expose(TypeLiteral<?> type)
Expose the given type. |
|
void |
install(GinModule install)
Uses the given module to configure more bindings. |
|
void |
requestStaticInjection(java.lang.Class<?>... types)
Upon successful creation, the Ginjector will inject static fields
and methods in the given classes. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.gwt.inject.client.binder.GinBinder |
|---|
bind, bind, bind, bindConstant, install, requestStaticInjection |
| Method Detail |
|---|
public void expose(Key<?> key)
PrivateGinBinder
expose in interface PrivateGinBinderpublic GinAnnotatedElementBuilder expose(java.lang.Class<?> type)
PrivateGinBinderGinAnnotatedElementBuilder which
can be used for adding an annotation.
expose in interface PrivateGinBinderpublic GinAnnotatedElementBuilder expose(TypeLiteral<?> type)
PrivateGinBinderGinAnnotatedElementBuilder which
can be used for adding an annotation.
expose in interface PrivateGinBinderpublic <T> GinAnnotatedBindingBuilder<T> bind(java.lang.Class<T> clazz)
GinBinderGinBinder
bind in interface GinBinderpublic <T> GinAnnotatedBindingBuilder<T> bind(TypeLiteral<T> clazz)
GinBinderGinBinder
bind in interface GinBinderpublic <T> GinLinkedBindingBuilder<T> bind(Key<T> key)
GinBinderGinBinder
bind in interface GinBinderpublic GinAnnotatedConstantBindingBuilder bindConstant()
GinBinderGinBinder
bindConstant in interface GinBinderpublic void install(GinModule install)
GinBinder
install in interface GinBinderpublic void requestStaticInjection(java.lang.Class<?>... types)
GinBinderGinjector will inject static fields
and methods in the given classes.
requestStaticInjection in interface GinBindertypes - for which static members will be injected
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||