📄 turbinetemplateprovider.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="TYPE"><!-- --></A><H3>TYPE</H3><PRE>public static java.lang.String <B>TYPE</B></PRE><DL><DD><B>Deprecated.</B> <DD>The single resource type we provide.</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="TurbineTemplateProvider()"><!-- --></A><H3>TurbineTemplateProvider</H3><PRE>public <B>TurbineTemplateProvider</B>()</PRE><DL><DD><B>Deprecated.</B> </DL><!-- ============ 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="getTypes()"><!-- --></A><H3>getTypes</H3><PRE>public java.lang.String[] <B>getTypes</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Returns an array of supported resource types.<DD><DL><DT><B>Specified by: </B><DD><CODE>getTypes</CODE> in interface <CODE>org.webmacro.broker.ResourceProvider</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A String[] with the supported resource types.</DL></DD></DL><HR><A NAME="resourceExpireTime()"><!-- --></A><H3>resourceExpireTime</H3><PRE>public int <B>resourceExpireTime</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Returns expiration time of the provided resources.<DD><DL><DT><B>Specified by: </B><DD><CODE>resourceExpireTime</CODE> in interface <CODE>org.webmacro.broker.ResourceProvider</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>An int with the expiration time of the provided resources.</DL></DD></DL><HR><A NAME="resourceThreads()"><!-- --></A><H3>resourceThreads</H3><PRE>public int <B>resourceThreads</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Returns the number of additional worker threads to be used by the provider<DD><DL><DT><B>Specified by: </B><DD><CODE>resourceThreads</CODE> in interface <CODE>org.webmacro.broker.ResourceProvider</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The number of additional worker threads to be used by the provider.</DL></DD></DL><HR><A NAME="init(org.webmacro.broker.ResourceBroker)"><!-- --></A><H3>init</H3><PRE>public void <B>init</B>(org.webmacro.broker.ResourceBroker broker) throws org.webmacro.broker.ResourceInitException</PRE><DL><DD><B>Deprecated.</B> <DD>Initializes the provider.<DD><DL><DT><B>Specified by: </B><DD><CODE>init</CODE> in interface <CODE>org.webmacro.broker.ResourceProvider</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>broker</CODE> - The <code>ResourceBroker</code> that manages this provider.<DT><B>Throws:</B><DD><CODE>org.webmacro.broker.ResourceInitException</CODE> - The resource couldn't be initialized.</DL></DD></DL><HR><A NAME="destroy()"><!-- --></A><H3>destroy</H3><PRE>public void <B>destroy</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Shuts down the provider.<DD><DL><DT><B>Specified by: </B><DD><CODE>destroy</CODE> in interface <CODE>org.webmacro.broker.ResourceProvider</CODE></DL></DD></DL><HR><A NAME="resourceRequest(org.webmacro.broker.RequestResourceEvent)"><!-- --></A><H3>resourceRequest</H3><PRE>public void <B>resourceRequest</B>(org.webmacro.broker.RequestResourceEvent request) throws org.webmacro.NotFoundException, java.lang.InterruptedException</PRE><DL><DD><B>Deprecated.</B> <DD>Retrieves a resource.<DD><DL><DT><B>Specified by: </B><DD><CODE>resourceRequest</CODE> in interface <CODE>org.webmacro.broker.ResourceProvider</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - A <code>RequestResourceEvent</code>.<DT><B>Throws:</B><DD><CODE>NotFoundException.</CODE> - <DD><CODE>InterruptedException.</CODE> - </DL></DD></DL><HR><A NAME="resourceCreate(org.webmacro.broker.CreateResourceEvent)"><!-- --></A><H3>resourceCreate</H3><PRE>public void <B>resourceCreate</B>(org.webmacro.broker.CreateResourceEvent create) throws org.webmacro.NotFoundException, java.lang.InterruptedException</PRE><DL><DD><B>Deprecated.</B> <DD>Creates a new resource (not implemented).<DD><DL><DT><B>Specified by: </B><DD><CODE>resourceCreate</CODE> in interface <CODE>org.webmacro.broker.ResourceProvider</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>create</CODE> - A <code>CreateResourceEvent</code>.<DT><B>Throws:</B><DD><CODE>NotFoundException.</CODE> - <DD><CODE>InterruptedException.</CODE> - </DL></DD></DL><HR><A NAME="resourceDelete(org.webmacro.broker.ResourceEvent)"><!-- --></A><H3>resourceDelete</H3><PRE>public boolean <B>resourceDelete</B>(org.webmacro.broker.ResourceEvent delete)</PRE><DL><DD><B>Deprecated.</B> <DD>Deletes a resource (not implemented).<DD><DL><DT><B>Specified by: </B><DD><CODE>resourceDelete</CODE> in interface <CODE>org.webmacro.broker.ResourceProvider</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>delete</CODE> - A <code>ResourceEvent</code>.<DT><B>Returns:</B><DD>Always false.</DL></DD></DL><HR><A NAME="resourceSave(org.webmacro.broker.ResourceEvent)"><!-- --></A><H3>resourceSave</H3><PRE>public boolean <B>resourceSave</B>(org.webmacro.broker.ResourceEvent save)</PRE><DL><DD><B>Deprecated.</B> <DD>Saves a resource to permanet storage (not implemented).<DD><DL><DT><B>Specified by: </B><DD><CODE>resourceSave</CODE> in interface <CODE>org.webmacro.broker.ResourceProvider</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>save</CODE> - A <code>ResourceEvent</code>.<DT><B>Returns:</B><DD>Always false.</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/TurbineTemplateProvider.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"> PREV CLASS <A HREF="../../../../../org/apache/turbine/services/webmacro/TurbineWebMacro.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="TurbineTemplateProvider.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>Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -