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-google-internal) on Mon Jan 04 20:48:00 PST 2010 --> 6 <TITLE> 7 Uses of Interface com.google.common.base.Service (Guava Libraries 2010.01.04) 8 </TITLE> 9 10 <META NAME="date" CONTENT="2010-01-04"> 11 12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> 13 14 <SCRIPT type="text/javascript"> 15 function windowTitle() 16 { 17 if (location.href.indexOf('is-external=true') == -1) { 18 parent.document.title="Uses of Interface com.google.common.base.Service (Guava Libraries 2010.01.04)"; 19 } 20 } 21 </SCRIPT> 22 <NOSCRIPT> 23 </NOSCRIPT> 24 25 </HEAD> 26 27 <BODY BGCOLOR="white" onload="windowTitle();"> 28 <HR> 29 30 31 <!-- ========= START OF TOP NAVBAR ======= --> 32 <A NAME="navbar_top"><!-- --></A> 33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A> 34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 35 <TR> 36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 37 <A NAME="navbar_top_firstrow"><!-- --></A> 38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 39 <TR ALIGN="center" VALIGN="top"> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/google/common/base/Service.html" title="interface in com.google.common.base"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 48 </TR> 49 </TABLE> 50 </TD> 51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 52 </EM> 53 </TD> 54 </TR> 55 56 <TR> 57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 58 PREV 59 NEXT</FONT></TD> 60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 61 <A HREF="../../../../../index.html?com/google/common/base//class-useService.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="Service.html" target="_top"><B>NO FRAMES</B></A> 63 <SCRIPT type="text/javascript"> 64 <!-- 65 if(window==top) { 66 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 67 } 68 //--> 69 </SCRIPT> 70 <NOSCRIPT> 71 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 72 </NOSCRIPT> 73 74 75 </FONT></TD> 76 </TR> 77 </TABLE> 78 <A NAME="skip-navbar_top"></A> 79 <!-- ========= END OF TOP NAVBAR ========= --> 80 81 <HR> 82 <CENTER> 83 <H2> 84 <B>Uses of Interface<br>com.google.common.base.Service</B></H2> 85 </CENTER> 86 87 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 88 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 89 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 90 Packages that use <A HREF="../../../../../com/google/common/base/Service.html" title="interface in com.google.common.base">Service</A></FONT></TH> 91 </TR> 92 <TR BGCOLOR="white" CLASS="TableRowColor"> 93 <TD><A HREF="#com.google.common.util.concurrent"><B>com.google.common.util.concurrent</B></A></TD> 94 <TD> </TD> 95 </TR> 96 </TABLE> 97 98 <P> 99 <A NAME="com.google.common.util.concurrent"><!-- --></A> 100 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 101 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 102 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 103 Uses of <A HREF="../../../../../com/google/common/base/Service.html" title="interface in com.google.common.base">Service</A> in <A HREF="../../../../../com/google/common/util/concurrent/package-summary.html">com.google.common.util.concurrent</A></FONT></TH> 104 </TR> 105 </TABLE> 106 107 <P> 108 109 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 110 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 111 <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../com/google/common/util/concurrent/package-summary.html">com.google.common.util.concurrent</A> that implement <A HREF="../../../../../com/google/common/base/Service.html" title="interface in com.google.common.base">Service</A></FONT></TH> 112 </TR> 113 <TR BGCOLOR="white" CLASS="TableRowColor"> 114 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 115 <CODE> class</CODE></FONT></TD> 116 <TD><CODE><B><A HREF="../../../../../com/google/common/util/concurrent/AbstractExecutionThreadService.html" title="class in com.google.common.util.concurrent">AbstractExecutionThreadService</A></B></CODE> 117 118 <BR> 119 Base class for services that can implement <A HREF="../../../../../com/google/common/util/concurrent/AbstractExecutionThreadService.html#startUp()"><CODE>AbstractExecutionThreadService.startUp()</CODE></A>, <A HREF="../../../../../com/google/common/util/concurrent/AbstractExecutionThreadService.html#run()"><CODE>AbstractExecutionThreadService.run()</CODE></A> and 120 <A HREF="../../../../../com/google/common/util/concurrent/AbstractExecutionThreadService.html#shutDown()"><CODE>AbstractExecutionThreadService.shutDown()</CODE></A> methods.</TD> 121 </TR> 122 <TR BGCOLOR="white" CLASS="TableRowColor"> 123 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 124 <CODE> class</CODE></FONT></TD> 125 <TD><CODE><B><A HREF="../../../../../com/google/common/util/concurrent/AbstractIdleService.html" title="class in com.google.common.util.concurrent">AbstractIdleService</A></B></CODE> 126 127 <BR> 128 Base class for services that do not need a thread while "running" 129 but may need one during startup and shutdown.</TD> 130 </TR> 131 <TR BGCOLOR="white" CLASS="TableRowColor"> 132 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 133 <CODE> class</CODE></FONT></TD> 134 <TD><CODE><B><A HREF="../../../../../com/google/common/util/concurrent/AbstractService.html" title="class in com.google.common.util.concurrent">AbstractService</A></B></CODE> 135 136 <BR> 137 Base class for implementing services that can handle <A HREF="../../../../../com/google/common/util/concurrent/AbstractService.html#doStart()"><CODE>AbstractService.doStart()</CODE></A> and 138 <A HREF="../../../../../com/google/common/util/concurrent/AbstractService.html#doStop()"><CODE>AbstractService.doStop()</CODE></A> requests, responding to them with <A HREF="../../../../../com/google/common/util/concurrent/AbstractService.html#notifyStarted()"><CODE>AbstractService.notifyStarted()</CODE></A> 139 and <A HREF="../../../../../com/google/common/util/concurrent/AbstractService.html#notifyStopped()"><CODE>AbstractService.notifyStopped()</CODE></A> callbacks.</TD> 140 </TR> 141 <TR BGCOLOR="white" CLASS="TableRowColor"> 142 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 143 <CODE> class</CODE></FONT></TD> 144 <TD><CODE><B><A HREF="../../../../../com/google/common/util/concurrent/ForwardingService.html" title="class in com.google.common.util.concurrent">ForwardingService</A></B></CODE> 145 146 <BR> 147 A <A HREF="../../../../../com/google/common/base/Service.html" title="interface in com.google.common.base"><CODE>Service</CODE></A> that forwards all method calls to another service.</TD> 148 </TR> 149 </TABLE> 150 151 <P> 152 153 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 154 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 155 <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/google/common/util/concurrent/package-summary.html">com.google.common.util.concurrent</A> that return <A HREF="../../../../../com/google/common/base/Service.html" title="interface in com.google.common.base">Service</A></FONT></TH> 156 </TR> 157 <TR BGCOLOR="white" CLASS="TableRowColor"> 158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 159 <CODE>protected abstract <A HREF="../../../../../com/google/common/base/Service.html" title="interface in com.google.common.base">Service</A></CODE></FONT></TD> 160 <TD><CODE><B>ForwardingService.</B><B><A HREF="../../../../../com/google/common/util/concurrent/ForwardingService.html#delegate()">delegate</A></B>()</CODE> 161 162 <BR> 163 </TD> 164 </TR> 165 </TABLE> 166 167 <P> 168 <HR> 169 170 171 <!-- ======= START OF BOTTOM NAVBAR ====== --> 172 <A NAME="navbar_bottom"><!-- --></A> 173 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 174 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 175 <TR> 176 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 177 <A NAME="navbar_bottom_firstrow"><!-- --></A> 178 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 179 <TR ALIGN="center" VALIGN="top"> 180 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 181 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 182 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/google/common/base/Service.html" title="interface in com.google.common.base"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 183 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> 184 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 185 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 186 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 187 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 188 </TR> 189 </TABLE> 190 </TD> 191 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 192 </EM> 193 </TD> 194 </TR> 195 196 <TR> 197 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 198 PREV 199 NEXT</FONT></TD> 200 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 201 <A HREF="../../../../../index.html?com/google/common/base//class-useService.html" target="_top"><B>FRAMES</B></A> 202 <A HREF="Service.html" target="_top"><B>NO FRAMES</B></A> 203 <SCRIPT type="text/javascript"> 204 <!-- 205 if(window==top) { 206 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 207 } 208 //--> 209 </SCRIPT> 210 <NOSCRIPT> 211 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 212 </NOSCRIPT> 213 214 215 </FONT></TD> 216 </TR> 217 </TABLE> 218 <A NAME="skip-navbar_bottom"></A> 219 <!-- ======== END OF BOTTOM NAVBAR ======= --> 220 221 <HR> 222 223 </BODY> 224 </HTML> 225