📄 servicebroker.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="isRegistered(java.lang.String)"><!-- --></A><H3>isRegistered</H3><PRE>public boolean <B>isRegistered</B>(java.lang.String serviceName)</PRE><DL><DD>Determines whether a service is registered in the configured <code>TurbineResources.properties</code>.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>serviceName</CODE> - The name of the service whose existance to check.<DT><B>Returns:</B><DD>Registration predicate for the desired services.</DL></DD></DL><HR><A NAME="initService(java.lang.String, java.lang.Object)"><!-- --></A><H3>initService</H3><PRE>public void <B>initService</B>(java.lang.String name, java.lang.Object data) throws <A HREF="../../../../org/apache/turbine/services/InitializationException.html">InitializationException</A></PRE><DL><DD>Performs early initialization of specified service.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the service.<DD><CODE>data</CODE> - An Object to use for initialization activities.<DT><B>Throws:</B><DD><CODE>InitializationException,</CODE> - if the service is unknown or can't be initialized.</DL></DD></DL><HR><A NAME="initServices(java.lang.Object)"><!-- --></A><H3>initServices</H3><PRE>public void <B>initServices</B>(java.lang.Object data)</PRE><DL><DD>Performs early initialization of all services.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - An Object to use for initialization activities.</DL></DD></DL><HR><A NAME="shutdownService(java.lang.String)"><!-- --></A><H3>shutdownService</H3><PRE>public void <B>shutdownService</B>(java.lang.String name)</PRE><DL><DD>Shutdowns a Service. This method is used to release resources allocated by a Service, and return it to initial (uninitailized) state.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the Service to be uninitialized.</DL></DD></DL><HR><A NAME="shutdownServices()"><!-- --></A><H3>shutdownServices</H3><PRE>public void <B>shutdownServices</B>()</PRE><DL><DD>Shutdowns all Services. This method is used to release resources allocated by Services, and return them to initial (uninitailized) state.<DD><DL></DL></DD></DL><HR><A NAME="getService(java.lang.String)"><!-- --></A><H3>getService</H3><PRE>public <A HREF="../../../../org/apache/turbine/services/Service.html">Service</A> <B>getService</B>(java.lang.String name) throws <A HREF="../../../../org/apache/turbine/services/InstantiationException.html">InstantiationException</A></PRE><DL><DD>Returns an instance of requested Service.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the Service requested.<DT><B>Returns:</B><DD>An instance of requested Service.<DT><B>Throws:</B><DD><CODE>InstantiationException,</CODE> - if the service is unknown or can't be initialized.</DL></DD></DL><HR><A NAME="getProperties(java.lang.String)"><!-- --></A><H3>getProperties</H3><PRE>public java.util.Properties <B>getProperties</B>(java.lang.String name)</PRE><DL><DD>Returns the properites of a specific service. Services use this method to retrieve their properties.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the service.<DT><B>Returns:</B><DD>Properties of requested Service.</DL></DD></DL><HR><A NAME="getConfiguration(java.lang.String)"><!-- --></A><H3>getConfiguration</H3><PRE>public org.apache.commons.configuration.Configuration <B>getConfiguration</B>(java.lang.String name)</PRE><DL><DD>Returns the configuration of a specific service. Services use this method to retrieve their configuration.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the service.<DT><B>Returns:</B><DD>Configuration of the requested service.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ServiceBroker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/apache/turbine/services/Service.html"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="ServiceBroker.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR>Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -