|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.inject.rebind.adapter.GwtDotCreateProvider<T>
public class GwtDotCreateProvider<T>
A dummy provider to register for cases like
bind().in(scope)
(where there is no target key).
Since Gin will use GWT.create()
, we need to
make Guice think that something is bound.
This class is public
so that BindingProcessor
can detect this.
Some details are in
issue 22.
Method Summary | |
---|---|
T |
get()
Provides an instance of T . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public T get()
com.google.inject.Provider
T
. Must never return null
.
get
in interface javax.inject.Provider<T>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |