abstractservice.html

来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 727 行 · 第 1/3 页

HTML
727 行
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In the event that an error occurs during a resolve, that error can be reported back with this method. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/catalog/Resolve.Status.html" title="class in org.geotools.catalog">Resolve.Status</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/catalog/AbstractService.html#getStatus()">getStatus</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default implementation of getStatus. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/catalog/AbstractService.html#hashCode()">hashCode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This should represent the identified</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/catalog/AbstractService.html#parent(org.geotools.util.ProgressListener)">parent</A></B>(<A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A>&nbsp;monitor)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocking method which resolves this instance into its parent. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/catalog/AbstractService.html#removeListener(org.geotools.catalog.ResolveChangeListener)">removeListener</A></B>(<A HREF="../../../org/geotools/catalog/ResolveChangeListener.html" title="interface in org.geotools.catalog">ResolveChangeListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method does nothing. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/catalog/AbstractService.html#setConnectionParams(java.util.Map)">setConnectionParams</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&nbsp;params)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the connection params for the service handle.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/catalog/AbstractService.html#setMembers(java.util.List)">setMembers</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;members)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the cached value of the members of the service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/catalog/AbstractService.html#setMessage(java.lang.Throwable)">setMessage</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A>&nbsp;msg)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the cached error message.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/catalog/AbstractService.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate class and id.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Service"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../org/geotools/catalog/Service.html" title="interface in org.geotools.catalog">Service</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/catalog/Service.html#getInfo(org.geotools.util.ProgressListener)">getInfo</A>, <A HREF="../../../org/geotools/catalog/Service.html#members(org.geotools.util.ProgressListener)">members</A>, <A HREF="../../../org/geotools/catalog/Service.html#resolve(java.lang.Class, org.geotools.util.ProgressListener)">resolve</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Resolve"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/catalog/Resolve.html#canResolve(java.lang.Class)">canResolve</A>, <A HREF="../../../org/geotools/catalog/Resolve.html#getIdentifier()">getIdentifier</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="logger"><!-- --></A><H3>logger</H3><PRE>protected static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/logging/Logger.html" title="class or interface in java.util.logging">Logger</A> <B>logger</B></PRE><DL><DD>Logger<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="AbstractService(org.geotools.catalog.Catalog)"><!-- --></A><H3>AbstractService</H3><PRE>public <B>AbstractService</B>(<A HREF="../../../org/geotools/catalog/Catalog.html" title="interface in org.geotools.catalog">Catalog</A>&nbsp;parent)</PRE><DL><DD>Creates a new service handle contained within a catalog.<P><DT><B>Parameters:</B><DD><CODE>parent</CODE> - The catalog containg the service.</DL><HR><A NAME="AbstractService(org.geotools.catalog.Catalog, java.util.Map)"><!-- --></A><H3>AbstractService</H3><PRE>public <B>AbstractService</B>(<A HREF="../../../org/geotools/catalog/Catalog.html" title="interface in org.geotools.catalog">Catalog</A>&nbsp;parent,                       <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&nbsp;params)</PRE><DL><DD>Creates a new service handle contained within a catalog, with a  set of connection paramters.<P><DT><B>Parameters:</B><DD><CODE>parent</CODE> - The catalog containing the service.<DD><CODE>params</CODE> - The connection params used to connect to the service.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="parent(org.geotools.util.ProgressListener)"><!-- --></A><H3>parent</H3><PRE>public <A HREF="../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A> <B>parent</B>(<A HREF="../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A>&nbsp;monitor)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A></CODE></B></DD><DD>Blocking method which resolves this instance into its parent. This method may return null if the parent can not be determined.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/catalog/Resolve.html#parent(org.geotools.util.ProgressListener)">parent</A></CODE> in interface <CODE><A HREF="../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>monitor</CODE> - Progress monitor for blocking call.<DT><B>Returns:</B><DD>he parent Catalog.</DL></DD></DL><HR><A NAME="getConnectionParams()"><!-- --></A><H3>getConnectionParams</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>getConnectionParams</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/catalog/Service.html" title="interface in org.geotools.catalog">Service</A></CODE></B></DD><DD>Accessor to the set of params used to create this entry. There is no guarantee that these params created a usable service (@see getStatus() ). These params may have been modified within the factory during creation. This method is intended to be used for cloning (@see IServiceFactory) or for persistence between sessions.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/catalog/Service.html#getConnectionParams()">getConnectionParams</A></CODE> in interface <CODE><A HREF="../../../org/geotools/catalog/Service.html" title="interface in org.geotools.catalog">Service</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Connection parameters, possibly null.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/catalog/ServiceFinder.html" title="interface in org.geotools.catalog"><CODE>ServiceFinder</CODE></A></DL></DD></DL><HR><A NAME="setConnectionParams(java.util.Map)"><!-- --></A><H3>setConnectionParams</H3><PRE>protected void <B>setConnectionParams</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&nbsp;params)</PRE><DL><DD>Sets the connection params for the service handle.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>params</CODE> - Map of connection paramters.</DL></DD></DL><HR><A NAME="setMembers(java.util.List)"><!-- --></A><H3>setMembers</H3><PRE>protected void <B>setMembers</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;members)</PRE><DL><DD>Sets the cached value of the members of the service.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>members</CODE> - List of <A HREF="../../../org/geotools/catalog/GeoResource.html" title="interface in org.geotools.catalog"><CODE>GeoResource</CODE></A>.</DL></DD></DL><HR><A NAME="getMembers()"><!-- --></A><H3>getMembers</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getMembers</B>()</PRE><DL><DD><DL></DL></DD>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?