📄 baseunicastremoteservice.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Fri Dec 06 19:57:07 CET 2002 --><TITLE>jakarta-turbine-2 2.2 API: Class BaseUnicastRemoteService</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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/BaseUnicastRemoteService.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/BaseServiceBroker.html"><B>PREV CLASS</B></A> <A HREF="../../../../org/apache/turbine/services/TurbineBaseService.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="BaseUnicastRemoteService.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.apache.turbine.services</FONT><BR>Class BaseUnicastRemoteService</H2><PRE>java.lang.Object | +--java.rmi.server.RemoteObject | +--java.rmi.server.RemoteServer | +--java.rmi.server.UnicastRemoteObject | +--<B>org.apache.turbine.services.BaseUnicastRemoteService</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/turbine/services/Initable.html">Initable</A>, java.rmi.Remote, java.io.Serializable, <A HREF="../../../../org/apache/turbine/services/Service.html">Service</A></DD></DL><HR><DL><DT>public class <B>BaseUnicastRemoteService</B><DT>extends java.rmi.server.UnicastRemoteObject<DT>implements <A HREF="../../../../org/apache/turbine/services/Service.html">Service</A></DL><P>A base implementation of an <CODE>UnicastRemoteObject</CODE> as a Turbine <A HREF="../../../../org/apache/turbine/services/Service.html"><CODE>Service</CODE></A>.<P><DL><DT><B>Author: </B><DD><a href="mailto:dlr@collab.net">Daniel Rall</a></DD><DT><B>See Also: </B><DD><A HREF="../../../../serialized-form.html#org.apache.turbine.services.BaseUnicastRemoteService">Serialized Form</A></DL><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected org.apache.commons.configuration.Configuration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#configuration">configuration</A></B></CODE><BR> </TD></TR></TABLE> <A NAME="fields_inherited_from_class_java.rmi.server.RemoteObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class java.rmi.server.RemoteObject</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>ref</CODE></TD></TR></TABLE> <A NAME="fields_inherited_from_class_org.apache.turbine.services.Service"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface org.apache.turbine.services.<A HREF="../../../../org/apache/turbine/services/Service.html">Service</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/apache/turbine/services/Service.html#SERVICE_NAME">SERVICE_NAME</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#BaseUnicastRemoteService()">BaseUnicastRemoteService</A></B>()</CODE><BR> </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> org.apache.commons.configuration.Configuration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#getConfiguration()">getConfiguration</A></B>()</CODE><BR> Returns the configuration of this service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#getInit()">getInit</A></B>()</CODE><BR> Returns initialization status of an Initable.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/apache/turbine/services/InitableBroker.html">InitableBroker</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#getInitableBroker()">getInitableBroker</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#getName()">getName</A></B>()</CODE><BR> Returns the name of this Service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Properties</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#getProperties()">getProperties</A></B>()</CODE><BR> Returns the Properties of this Service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/apache/turbine/services/ServiceBroker.html">ServiceBroker</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#getServiceBroker()">getServiceBroker</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#init()">init</A></B>()</CODE><BR> Performs late initialization of an Initable.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#init(java.lang.Object)">init</A></B>(java.lang.Object data)</CODE><BR> Performs early initailization of an Initable During the startup of the system, different objects may be passed to your class using this method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#init(javax.servlet.ServletConfig)">init</A></B>(javax.servlet.ServletConfig config)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#setInit(boolean)">setInit</A></B>(boolean value)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#setInitableBroker(org.apache.turbine.services.InitableBroker)">setInitableBroker</A></B>(<A HREF="../../../../org/apache/turbine/services/InitableBroker.html">InitableBroker</A> broker)</CODE><BR> Provides an Initable with a reference to the InitableBroker that instantiated this object, so that it can access other Initables.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#setName(java.lang.String)">setName</A></B>(java.lang.String name)</CODE><BR> ServiceBroker uses this method to pass a Service its name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#setServiceBroker(org.apache.turbine.services.ServiceBroker)">setServiceBroker</A></B>(<A HREF="../../../../org/apache/turbine/services/ServiceBroker.html">ServiceBroker</A> broker)</CODE><BR> Provides a Service with a reference to the ServiceBroker that instantiated this object, so that it can ask for its properties and access other Services.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/turbine/services/BaseUnicastRemoteService.html#shutdown()">shutdown</A></B>()</CODE><BR> Shuts down this service.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.rmi.server.UnicastRemoteObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.rmi.server.UnicastRemoteObject</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, exportObject, exportObject, exportObject, unexportObject</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.rmi.server.RemoteServer"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.rmi.server.RemoteServer</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getClientHost, getLog, setLog</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.rmi.server.RemoteObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.rmi.server.RemoteObject</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getRef, hashCode, toString, toStub</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -