| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc on Fri Aug 22 03:44:00 EDT 2003 --> |
| <TITLE> |
| ComponentDefinitionsFactoryWrapper (Apache Struts API Documentation) |
| </TITLE> |
| <META NAME="keywords" CONTENT="org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper,ComponentDefinitionsFactoryWrapper class"> |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
| </HEAD> |
| <SCRIPT> |
| function asd() |
| { |
| parent.document.title="ComponentDefinitionsFactoryWrapper (Apache Struts API Documentation)"; |
| } |
| </SCRIPT> |
| <BODY BGCOLOR="white" onload="asd();"> |
| |
| <!-- ========== START OF NAVBAR ========== --> |
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
| <TR> |
| <TD COLSPAN=3 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/ComponentDefinitionsFactoryWrapper.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/struts/tiles/definition/ReloadableDefinitionsFactory.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="ComponentDefinitionsFactoryWrapper.html" TARGET="_top"><B>NO FRAMES</B></A> |
| |
| <SCRIPT> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> |
| </NOSCRIPT> |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <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.struts.tiles.definition</FONT> |
| <BR> |
| Class ComponentDefinitionsFactoryWrapper</H2> |
| <PRE> |
| java.lang.Object |
| | |
| +--<B>org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A>, java.io.Serializable</DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT>public class <B>ComponentDefinitionsFactoryWrapper</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A></DL> |
| |
| <P> |
| Wrapper from new definition factory interface to old interface. |
| This class provides mapping from the old interface's life cycle to the new life cycle. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>20020708</DD> |
| <DT><B>Author:</B></DT> |
| <DD>Cedric Dumoulin</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html" TARGET="org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper">Serialized Form</A></DL> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED 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>private <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#config">config</A></B></CODE> |
| |
| <BR> |
| Factory configuration</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html">ComponentDefinitionsFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#factory">factory</A></B></CODE> |
| |
| <BR> |
| The underlying factory</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/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#ComponentDefinitionsFactoryWrapper()">ComponentDefinitionsFactoryWrapper</A></B>()</CODE> |
| |
| <BR> |
| Constructor.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#ComponentDefinitionsFactoryWrapper(org.apache.struts.tiles.ComponentDefinitionsFactory)">ComponentDefinitionsFactoryWrapper</A></B>(<A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html">ComponentDefinitionsFactory</A> factory)</CODE> |
| |
| <BR> |
| Constructor.</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>static java.util.Map</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#createConfigMap(org.apache.struts.tiles.DefinitionsFactoryConfig)">createConfigMap</A></B>(<A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A> config)</CODE> |
| |
| <BR> |
| Create map of configuration attributes from configuration object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html">ComponentDefinitionsFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#createFactoryInstance(java.lang.String)">createFactoryInstance</A></B>(java.lang.String classname)</CODE> |
| |
| <BR> |
| Create Definition factory from provided classname which must implement <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html"><CODE>ComponentDefinitionsFactory</CODE></A>.</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/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#destroy()">destroy</A></B>()</CODE> |
| |
| <BR> |
| Do nothing because old life cycle has no equivalent.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#getConfig()">getConfig</A></B>()</CODE> |
| |
| <BR> |
| Get underlying factory configuration.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html">ComponentDefinition</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#getDefinition(java.lang.String, javax.servlet.ServletRequest, javax.servlet.ServletContext)">getDefinition</A></B>(java.lang.String name, |
| javax.servlet.ServletRequest request, |
| javax.servlet.ServletContext servletContext)</CODE> |
| |
| <BR> |
| Get requested definition.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html">ComponentDefinitionsFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#getInternalFactory()">getInternalFactory</A></B>()</CODE> |
| |
| <BR> |
| Get internal factory.</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/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#init(org.apache.struts.tiles.DefinitionsFactoryConfig, javax.servlet.ServletContext)">init</A></B>(<A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A> config, |
| javax.servlet.ServletContext servletContext)</CODE> |
| |
| <BR> |
| Call underlying factory init 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/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#setConfig(org.apache.struts.tiles.DefinitionsFactoryConfig, javax.servlet.ServletContext)">setConfig</A></B>(<A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A> config, |
| javax.servlet.ServletContext servletContext)</CODE> |
| |
| <BR> |
| Set underlying factory configuration.</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/struts/tiles/definition/ComponentDefinitionsFactoryWrapper.html#toString()">toString</A></B>()</CODE> |
| |
| <BR> |
| Return String representation.</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>clone, equals, finalize, getClass, hashCode, 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"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="factory"><!-- --></A><H3> |
| factory</H3> |
| <PRE> |
| private <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html">ComponentDefinitionsFactory</A> <B>factory</B></PRE> |
| <DL> |
| <DD>The underlying factory |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="config"><!-- --></A><H3> |
| config</H3> |
| <PRE> |
| private <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A> <B>config</B></PRE> |
| <DL> |
| <DD>Factory configuration |
| <P> |
| <DL> |
| </DL> |
| </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="ComponentDefinitionsFactoryWrapper(org.apache.struts.tiles.ComponentDefinitionsFactory)"><!-- --></A><H3> |
| ComponentDefinitionsFactoryWrapper</H3> |
| <PRE> |
| public <B>ComponentDefinitionsFactoryWrapper</B>(<A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html">ComponentDefinitionsFactory</A> factory)</PRE> |
| <DL> |
| <DD>Constructor. |
| Create new wrapper for specified factory. |
| <P> |
| <DT><B>Parameters:</B><DD><CODE>factory</CODE> - The factory to create a wrapper for.</DL> |
| <HR> |
| |
| <A NAME="ComponentDefinitionsFactoryWrapper()"><!-- --></A><H3> |
| ComponentDefinitionsFactoryWrapper</H3> |
| <PRE> |
| public <B>ComponentDefinitionsFactoryWrapper</B>()</PRE> |
| <DL> |
| <DD>Constructor. |
| Create new wrapper. |
| The config object passed to init method should reference a factory implementing |
| <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html"><CODE>ComponentDefinitionsFactory</CODE></A>. |
| <P> |
| </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="getDefinition(java.lang.String, javax.servlet.ServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3> |
| getDefinition</H3> |
| <PRE> |
| public <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html">ComponentDefinition</A> <B>getDefinition</B>(java.lang.String name, |
| javax.servlet.ServletRequest request, |
| javax.servlet.ServletContext servletContext) |
| throws <A HREF="../../../../../org/apache/struts/tiles/NoSuchDefinitionException.html">NoSuchDefinitionException</A>, |
| <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></PRE> |
| <DL> |
| <DD>Get requested definition. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html#getDefinition(java.lang.String, javax.servlet.ServletRequest, javax.servlet.ServletContext)">getDefinition</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the definition.<DD><CODE>request</CODE> - The request we are processing.<DD><CODE>servletContext</CODE> - Our servlet context. |
| <DT><B>Returns:</B><DD>ComponentDefition |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/apache/struts/tiles/NoSuchDefinitionException.html">NoSuchDefinitionException</A></CODE> - No definition found for specified name |
| Implementation can throw more accurate exception as a subclass of this exception |
| <DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></CODE> - An error occur while getting definition.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="init(org.apache.struts.tiles.DefinitionsFactoryConfig, javax.servlet.ServletContext)"><!-- --></A><H3> |
| init</H3> |
| <PRE> |
| public void <B>init</B>(<A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A> config, |
| javax.servlet.ServletContext servletContext) |
| throws <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></PRE> |
| <DL> |
| <DD>Call underlying factory init method. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html#init(org.apache.struts.tiles.DefinitionsFactoryConfig, javax.servlet.ServletContext)">init</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>config</CODE> - DefinitionsFactoryConfig.<DD><CODE>servletContext</CODE> - Our servlet context. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></CODE> - An error occur during initialization.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="destroy()"><!-- --></A><H3> |
| destroy</H3> |
| <PRE> |
| public void <B>destroy</B>()</PRE> |
| <DL> |
| <DD>Do nothing because old life cycle has no equivalent. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html#destroy()">destroy</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setConfig(org.apache.struts.tiles.DefinitionsFactoryConfig, javax.servlet.ServletContext)"><!-- --></A><H3> |
| setConfig</H3> |
| <PRE> |
| public void <B>setConfig</B>(<A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A> config, |
| javax.servlet.ServletContext servletContext) |
| throws <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></PRE> |
| <DL> |
| <DD>Set underlying factory configuration. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html#setConfig(org.apache.struts.tiles.DefinitionsFactoryConfig, javax.servlet.ServletContext)">setConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>config</CODE> - DefinitionsFactoryConfig to use.<DD><CODE>servletContext</CODE> - Our servlet context. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></CODE> - An error occur during initialization.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConfig()"><!-- --></A><H3> |
| getConfig</H3> |
| <PRE> |
| public <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A> <B>getConfig</B>()</PRE> |
| <DL> |
| <DD>Get underlying factory configuration. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html#getConfig()">getConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>DefinitionsFactoryConfig.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getInternalFactory()"><!-- --></A><H3> |
| getInternalFactory</H3> |
| <PRE> |
| public <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html">ComponentDefinitionsFactory</A> <B>getInternalFactory</B>()</PRE> |
| <DL> |
| <DD>Get internal factory. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>The internal ComponentDefitionsFactory.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createFactoryInstance(java.lang.String)"><!-- --></A><H3> |
| createFactoryInstance</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html">ComponentDefinitionsFactory</A> <B>createFactoryInstance</B>(java.lang.String classname) |
| throws <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></PRE> |
| <DL> |
| <DD>Create Definition factory from provided classname which must implement <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html"><CODE>ComponentDefinitionsFactory</CODE></A>. |
| Factory class must extend <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html"><CODE>DefinitionsFactory</CODE></A>. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>classname</CODE> - Class name of the factory to create. |
| <DT><B>Returns:</B><DD>newly created factory. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></CODE> - If an error occur while initializing factory</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="toString()"><!-- --></A><H3> |
| toString</H3> |
| <PRE> |
| public java.lang.String <B>toString</B>()</PRE> |
| <DL> |
| <DD>Return String representation. |
| Calls toString() on underlying factory. |
| <P> |
| <DD><DL> |
| <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>String representation.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createConfigMap(org.apache.struts.tiles.DefinitionsFactoryConfig)"><!-- --></A><H3> |
| createConfigMap</H3> |
| <PRE> |
| public static java.util.Map <B>createConfigMap</B>(<A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A> config)</PRE> |
| <DL> |
| <DD>Create map of configuration attributes from configuration object. |
| Mapping is done between old names and new names. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>config</CODE> - The DefinitionsFactoryConfig to use. |
| <DT><B>Returns:</B><DD>Map Map of name/value pairs.</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=3 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/ComponentDefinitionsFactoryWrapper.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/struts/tiles/definition/ReloadableDefinitionsFactory.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="ComponentDefinitionsFactoryWrapper.html" TARGET="_top"><B>NO FRAMES</B></A> |
| |
| <SCRIPT> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> |
| </NOSCRIPT> |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <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-2003 - Apache Software Foundation |
| </BODY> |
| </HTML> |