|
|||||||||
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 PrivateGinBinder
public GinAnnotatedElementBuilder expose(java.lang.Class<?> type)
PrivateGinBinder
GinAnnotatedElementBuilder
which
can be used for adding an annotation.
expose
in interface PrivateGinBinder
public GinAnnotatedElementBuilder expose(TypeLiteral<?> type)
PrivateGinBinder
GinAnnotatedElementBuilder
which
can be used for adding an annotation.
expose
in interface PrivateGinBinder
public <T> GinAnnotatedBindingBuilder<T> bind(java.lang.Class<T> clazz)
GinBinder
GinBinder
bind
in interface GinBinder
public <T> GinAnnotatedBindingBuilder<T> bind(TypeLiteral<T> clazz)
GinBinder
GinBinder
bind
in interface GinBinder
public <T> GinLinkedBindingBuilder<T> bind(Key<T> key)
GinBinder
GinBinder
bind
in interface GinBinder
public GinAnnotatedConstantBindingBuilder bindConstant()
GinBinder
GinBinder
bindConstant
in interface GinBinder
public void install(GinModule install)
GinBinder
install
in interface GinBinder
public void requestStaticInjection(java.lang.Class<?>... types)
GinBinder
Ginjector
will inject static fields
and methods in the given classes.
requestStaticInjection
in interface GinBinder
types
- for which static members will be injected
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |