Subversion Repositories SmartDukaan

Rev

Rev 156 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
156 ashish 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.5.0_22) on Wed Jan 06 21:26:37 EST 2010 -->
6
<TITLE>
7
GwtDotCreateProvider
8
</TITLE>
9
 
10
<META NAME="keywords" CONTENT="com.google.gwt.inject.rebind.adapter.GwtDotCreateProvider class">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    parent.document.title="GwtDotCreateProvider";
18
}
19
</SCRIPT>
20
<NOSCRIPT>
21
</NOSCRIPT>
22
 
23
</HEAD>
24
 
25
<BODY BGCOLOR="white" onload="windowTitle();">
26
 
27
 
28
<!-- ========= START OF TOP NAVBAR ======= -->
29
<A NAME="navbar_top"><!-- --></A>
30
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
32
<TR>
33
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34
<A NAME="navbar_top_firstrow"><!-- --></A>
35
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36
  <TR ALIGN="center" VALIGN="top">
37
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
44
  </TR>
45
</TABLE>
46
</TD>
47
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
48
</EM>
49
</TD>
50
</TR>
51
 
52
<TR>
53
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54
&nbsp;<A HREF="../../../../../../com/google/gwt/inject/rebind/adapter/GinModuleAdapter.html" title="class in com.google.gwt.inject.rebind.adapter"><B>PREV CLASS</B></A>&nbsp;
55
&nbsp;NEXT CLASS</FONT></TD>
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57
  <A HREF="../../../../../../index.html?com/google/gwt/inject/rebind/adapter/GwtDotCreateProvider.html" target="_top"><B>FRAMES</B></A>  &nbsp;
58
&nbsp;<A HREF="GwtDotCreateProvider.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
59
&nbsp;<SCRIPT type="text/javascript">
60
  <!--
61
  if(window==top) {
62
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
63
  }
64
  //-->
65
</SCRIPT>
66
<NOSCRIPT>
67
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
68
</NOSCRIPT>
69
 
70
 
71
</FONT></TD>
72
</TR>
73
<TR>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
76
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
78
</TR>
79
</TABLE>
80
<A NAME="skip-navbar_top"></A>
81
<!-- ========= END OF TOP NAVBAR ========= -->
82
 
83
<HR>
84
<!-- ======== START OF CLASS DATA ======== -->
85
<H2>
86
<FONT SIZE="-1">
87
com.google.gwt.inject.rebind.adapter</FONT>
88
<BR>
89
Class GwtDotCreateProvider&lt;T&gt;</H2>
90
<PRE>
91
java.lang.Object
92
  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>com.google.gwt.inject.rebind.adapter.GwtDotCreateProvider&lt;T&gt;</B>
93
</PRE>
94
<DL>
95
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/Provider.html" title="class or interface in com.google.inject">Provider</A>&lt;T&gt;</DD>
96
</DL>
97
<HR>
98
<DL>
99
<DT><PRE>public class <B>GwtDotCreateProvider&lt;T&gt;</B><DT>extends java.lang.Object<DT>implements <A HREF="http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/Provider.html" title="class or interface in com.google.inject">Provider</A>&lt;T&gt;</DL>
100
</PRE>
101
 
102
<P>
103
A dummy provider to register for cases like
104
 <code>bind().in(scope)</code> (where there is no target key).
105
 Since Gin will use <code>GWT.create()</code>, we need to
106
 make Guice think that something is bound.
107
 
108
 This class is <code>public</code> so that <code>BindingProcessor</code>
109
 can detect this.
110
 
111
 Some details are in
112
 <a href="http://code.google.com/p/google-gin/issues/detail?id=22">issue 22</a>.
113
<P>
114
 
115
<P>
116
<HR>
117
 
118
<P>
119
 
120
<!-- ========== METHOD SUMMARY =========== -->
121
 
122
<A NAME="method_summary"><!-- --></A>
123
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
124
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
125
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
126
<B>Method Summary</B></FONT></TH>
127
</TR>
128
<TR BGCOLOR="white" CLASS="TableRowColor">
129
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
130
<CODE>&nbsp;<A HREF="../../../../../../com/google/gwt/inject/rebind/adapter/GwtDotCreateProvider.html" title="type parameter in GwtDotCreateProvider">T</A></CODE></FONT></TD>
131
<TD><CODE><B><A HREF="../../../../../../com/google/gwt/inject/rebind/adapter/GwtDotCreateProvider.html#get()">get</A></B>()</CODE>
132
 
133
<BR>
134
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides an instance of <code>T</code>.</TD>
135
</TR>
136
</TABLE>
137
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
138
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
139
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
140
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
141
</TR>
142
<TR BGCOLOR="white" CLASS="TableRowColor">
143
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
144
</TR>
145
</TABLE>
146
&nbsp;
147
<P>
148
 
149
<!-- ============ METHOD DETAIL ========== -->
150
 
151
<A NAME="method_detail"><!-- --></A>
152
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
154
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
155
<B>Method Detail</B></FONT></TH>
156
</TR>
157
</TABLE>
158
 
159
<A NAME="get()"><!-- --></A><H3>
160
get</H3>
161
<PRE>
162
public <A HREF="../../../../../../com/google/gwt/inject/rebind/adapter/GwtDotCreateProvider.html" title="type parameter in GwtDotCreateProvider">T</A> <B>get</B>()</PRE>
163
<DL>
164
<DD><B>Description copied from interface: <CODE><A HREF="http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/Provider.html#get()" title="class or interface in com.google.inject">com.google.inject.Provider</A></CODE></B></DD>
165
<DD>Provides an instance of <code>T</code>. Must never return <code>null</code>.
166
<P>
167
<DD><DL>
168
<DT><B>Specified by:</B><DD><CODE><A HREF="http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/Provider.html#get()" title="class or interface in com.google.inject">get</A></CODE> in interface <CODE><A HREF="http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/Provider.html" title="class or interface in com.google.inject">Provider</A>&lt;<A HREF="../../../../../../com/google/gwt/inject/rebind/adapter/GwtDotCreateProvider.html" title="type parameter in GwtDotCreateProvider">T</A>&gt;</CODE></DL>
169
</DD>
170
<DD><DL>
171
</DL>
172
</DD>
173
</DL>
174
<!-- ========= END OF CLASS DATA ========= -->
175
<HR>
176
 
177
 
178
<!-- ======= START OF BOTTOM NAVBAR ====== -->
179
<A NAME="navbar_bottom"><!-- --></A>
180
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
181
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
182
<TR>
183
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
184
<A NAME="navbar_bottom_firstrow"><!-- --></A>
185
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
186
  <TR ALIGN="center" VALIGN="top">
187
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
188
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
189
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
190
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
191
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
192
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
193
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
194
  </TR>
195
</TABLE>
196
</TD>
197
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
198
</EM>
199
</TD>
200
</TR>
201
 
202
<TR>
203
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
204
&nbsp;<A HREF="../../../../../../com/google/gwt/inject/rebind/adapter/GinModuleAdapter.html" title="class in com.google.gwt.inject.rebind.adapter"><B>PREV CLASS</B></A>&nbsp;
205
&nbsp;NEXT CLASS</FONT></TD>
206
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
207
  <A HREF="../../../../../../index.html?com/google/gwt/inject/rebind/adapter/GwtDotCreateProvider.html" target="_top"><B>FRAMES</B></A>  &nbsp;
208
&nbsp;<A HREF="GwtDotCreateProvider.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
209
&nbsp;<SCRIPT type="text/javascript">
210
  <!--
211
  if(window==top) {
212
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
213
  }
214
  //-->
215
</SCRIPT>
216
<NOSCRIPT>
217
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
218
</NOSCRIPT>
219
 
220
 
221
</FONT></TD>
222
</TR>
223
<TR>
224
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
225
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
226
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
227
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
228
</TR>
229
</TABLE>
230
<A NAME="skip-navbar_bottom"></A>
231
<!-- ======== END OF BOTTOM NAVBAR ======= -->
232
 
233
<HR>
234
 
235
</BODY>
236
</HTML>