PageRenderTime 77ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/latest-api-diffs/1.0/javadoc/com/google/inject/class-use/Module.html

https://github.com/christophercurrie/Moogle-Muice
HTML | 280 lines | 234 code | 30 blank | 16 comment | 0 complexity | 953211eb4b63274193d179bcb9aad73a MD5 | raw file
  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.6.0_07) on Tue May 19 17:01:40 PDT 2009 -->
  6. <TITLE>
  7. Uses of Interface com.google.inject.Module (Guice 1.0)
  8. </TITLE>
  9. <META NAME="date" CONTENT="2009-05-19">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="Uses of Interface com.google.inject.Module (Guice 1.0)";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  41. </TR>
  42. </TABLE>
  43. </TD>
  44. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  45. </EM>
  46. </TD>
  47. </TR>
  48. <TR>
  49. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  50. &nbsp;PREV&nbsp;
  51. &nbsp;NEXT</FONT></TD>
  52. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  53. <A HREF="../../../../index.html?com/google/inject//class-useModule.html" target="_top"><B>FRAMES</B></A> &nbsp;
  54. &nbsp;<A HREF="Module.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  55. &nbsp;<SCRIPT type="text/javascript">
  56. <!--
  57. if(window==top) {
  58. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  59. }
  60. //-->
  61. </SCRIPT>
  62. <NOSCRIPT>
  63. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  64. </NOSCRIPT>
  65. </FONT></TD>
  66. </TR>
  67. </TABLE>
  68. <A NAME="skip-navbar_top"></A>
  69. <!-- ========= END OF TOP NAVBAR ========= -->
  70. <HR>
  71. <CENTER>
  72. <H2>
  73. <B>Uses of Interface<br>com.google.inject.Module</B></H2>
  74. </CENTER>
  75. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  76. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  77. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  78. Packages that use <A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A></FONT></TH>
  79. </TR>
  80. <TR BGCOLOR="white" CLASS="TableRowColor">
  81. <TD><A HREF="#com.google.inject"><B>com.google.inject</B></A></TD>
  82. <TD><i>Google Guice</i> (pronounced "juice") is an ultra-lightweight dependency
  83. injection framework.&nbsp;</TD>
  84. </TR>
  85. <TR BGCOLOR="white" CLASS="TableRowColor">
  86. <TD><A HREF="#com.google.inject.servlet"><B>com.google.inject.servlet</B></A></TD>
  87. <TD>Servlet API scopes and bindings.&nbsp;</TD>
  88. </TR>
  89. </TABLE>
  90. &nbsp;
  91. <P>
  92. <A NAME="com.google.inject"><!-- --></A>
  93. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  94. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  95. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  96. Uses of <A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A> in <A HREF="../../../../com/google/inject/package-summary.html">com.google.inject</A></FONT></TH>
  97. </TR>
  98. </TABLE>
  99. &nbsp;
  100. <P>
  101. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  102. <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
  103. <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../com/google/inject/package-summary.html">com.google.inject</A> that implement <A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A></FONT></TH>
  104. </TR>
  105. <TR BGCOLOR="white" CLASS="TableRowColor">
  106. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  107. <CODE>&nbsp;class</CODE></FONT></TD>
  108. <TD><CODE><B><A HREF="../../../../com/google/inject/AbstractModule.html" title="class in com.google.inject">AbstractModule</A></B></CODE>
  109. <BR>
  110. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A support class for <A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject"><CODE>Module</CODE></A>s which reduces repetition and results in
  111. a more readable configuration.</TD>
  112. </TR>
  113. </TABLE>
  114. &nbsp;
  115. <P>
  116. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  117. <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
  118. <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../com/google/inject/package-summary.html">com.google.inject</A> with parameters of type <A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A></FONT></TH>
  119. </TR>
  120. <TR BGCOLOR="white" CLASS="TableRowColor">
  121. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  122. <CODE>static&nbsp;<A HREF="../../../../com/google/inject/Injector.html" title="interface in com.google.inject">Injector</A></CODE></FONT></TD>
  123. <TD><CODE><B>Guice.</B><B><A HREF="../../../../com/google/inject/Guice.html#createInjector(com.google.inject.Module...)">createInjector</A></B>(<A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A>...&nbsp;modules)</CODE>
  124. <BR>
  125. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an injector for the given set of modules.</TD>
  126. </TR>
  127. <TR BGCOLOR="white" CLASS="TableRowColor">
  128. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  129. <CODE>static&nbsp;<A HREF="../../../../com/google/inject/Injector.html" title="interface in com.google.inject">Injector</A></CODE></FONT></TD>
  130. <TD><CODE><B>Guice.</B><B><A HREF="../../../../com/google/inject/Guice.html#createInjector(com.google.inject.Stage, com.google.inject.Module...)">createInjector</A></B>(<A HREF="../../../../com/google/inject/Stage.html" title="enum in com.google.inject">Stage</A>&nbsp;stage,
  131. <A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A>...&nbsp;modules)</CODE>
  132. <BR>
  133. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an injector for the given set of modules, in a given development
  134. stage.</TD>
  135. </TR>
  136. <TR BGCOLOR="white" CLASS="TableRowColor">
  137. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  138. <CODE>&nbsp;void</CODE></FONT></TD>
  139. <TD><CODE><B>Binder.</B><B><A HREF="../../../../com/google/inject/Binder.html#install(com.google.inject.Module)">install</A></B>(<A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A>&nbsp;module)</CODE>
  140. <BR>
  141. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Uses the given module to configure more bindings.</TD>
  142. </TR>
  143. <TR BGCOLOR="white" CLASS="TableRowColor">
  144. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  145. <CODE>protected &nbsp;void</CODE></FONT></TD>
  146. <TD><CODE><B>AbstractModule.</B><B><A HREF="../../../../com/google/inject/AbstractModule.html#install(com.google.inject.Module)">install</A></B>(<A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A>&nbsp;module)</CODE>
  147. <BR>
  148. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  149. </TR>
  150. </TABLE>
  151. &nbsp;
  152. <P>
  153. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  154. <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
  155. <TH ALIGN="left" COLSPAN="2">Method parameters in <A HREF="../../../../com/google/inject/package-summary.html">com.google.inject</A> with type arguments of type <A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A></FONT></TH>
  156. </TR>
  157. <TR BGCOLOR="white" CLASS="TableRowColor">
  158. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  159. <CODE>static&nbsp;<A HREF="../../../../com/google/inject/Injector.html" title="interface in com.google.inject">Injector</A></CODE></FONT></TD>
  160. <TD><CODE><B>Guice.</B><B><A HREF="../../../../com/google/inject/Guice.html#createInjector(java.lang.Iterable)">createInjector</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;<A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A>&gt;&nbsp;modules)</CODE>
  161. <BR>
  162. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an injector for the given set of modules.</TD>
  163. </TR>
  164. <TR BGCOLOR="white" CLASS="TableRowColor">
  165. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  166. <CODE>static&nbsp;<A HREF="../../../../com/google/inject/Injector.html" title="interface in com.google.inject">Injector</A></CODE></FONT></TD>
  167. <TD><CODE><B>Guice.</B><B><A HREF="../../../../com/google/inject/Guice.html#createInjector(com.google.inject.Stage, java.lang.Iterable)">createInjector</A></B>(<A HREF="../../../../com/google/inject/Stage.html" title="enum in com.google.inject">Stage</A>&nbsp;stage,
  168. <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;<A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A>&gt;&nbsp;modules)</CODE>
  169. <BR>
  170. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an injector for the given set of modules, in a given development
  171. stage.</TD>
  172. </TR>
  173. </TABLE>
  174. &nbsp;
  175. <P>
  176. <A NAME="com.google.inject.servlet"><!-- --></A>
  177. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  178. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  179. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  180. Uses of <A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A> in <A HREF="../../../../com/google/inject/servlet/package-summary.html">com.google.inject.servlet</A></FONT></TH>
  181. </TR>
  182. </TABLE>
  183. &nbsp;
  184. <P>
  185. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  186. <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
  187. <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../com/google/inject/servlet/package-summary.html">com.google.inject.servlet</A> that implement <A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject">Module</A></FONT></TH>
  188. </TR>
  189. <TR BGCOLOR="white" CLASS="TableRowColor">
  190. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  191. <CODE>&nbsp;class</CODE></FONT></TD>
  192. <TD><CODE><B><A HREF="../../../../com/google/inject/servlet/ServletModule.html" title="class in com.google.inject.servlet">ServletModule</A></B></CODE>
  193. <BR>
  194. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configures the servlet scopes and creates bindings for the servlet API
  195. objects so you can inject the request, response, session, etc.</TD>
  196. </TR>
  197. </TABLE>
  198. &nbsp;
  199. <P>
  200. <HR>
  201. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  202. <A NAME="navbar_bottom"><!-- --></A>
  203. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  204. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  205. <TR>
  206. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  207. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  208. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  209. <TR ALIGN="center" VALIGN="top">
  210. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  211. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  212. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/google/inject/Module.html" title="interface in com.google.inject"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
  213. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
  214. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  215. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  216. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  217. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  218. </TR>
  219. </TABLE>
  220. </TD>
  221. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  222. </EM>
  223. </TD>
  224. </TR>
  225. <TR>
  226. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  227. &nbsp;PREV&nbsp;
  228. &nbsp;NEXT</FONT></TD>
  229. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  230. <A HREF="../../../../index.html?com/google/inject//class-useModule.html" target="_top"><B>FRAMES</B></A> &nbsp;
  231. &nbsp;<A HREF="Module.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  232. &nbsp;<SCRIPT type="text/javascript">
  233. <!--
  234. if(window==top) {
  235. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  236. }
  237. //-->
  238. </SCRIPT>
  239. <NOSCRIPT>
  240. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  241. </NOSCRIPT>
  242. </FONT></TD>
  243. </TR>
  244. </TABLE>
  245. <A NAME="skip-navbar_bottom"></A>
  246. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  247. <HR>
  248. <i>Copyright 2007 Google Inc. All Rights Reserved.</i>
  249. </BODY>
  250. </HTML>