cedric 2002/12/27 02:57:01 Modified: src/share/org/apache/struts/tiles TilesRequestProcessor.java Log: Change definitionFactory visibility to protected (requested on mailing list). Remove one call to deprecated api. Revision Changes Path 1.16 +6 -5 jakarta-struts/src/share/org/apache/struts/tiles/TilesRequestProcessor.java Index: TilesRequestProcessor.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/TilesRequestProcessor.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- TilesRequestProcessor.java 28 Nov 2002 07:26:21 -0000 1.15 +++ TilesRequestProcessor.java 27 Dec 2002 10:57:01 -0000 1.16 @@ -95,7 +95,7 @@ public class TilesRequestProcessor extends RequestProcessor { /** Definitions factory */ - private DefinitionsFactory definitionsFactory; + protected DefinitionsFactory definitionsFactory; /** * Commons Logging instance. @@ -119,11 +119,12 @@ /** * Read component instance mapping configuration file. * This is where we read files properties. + * @param moduleConfig The ModuleConfig we are associated with. */ protected void initDefinitionsMapping() throws ServletException { // Retrieve and set factory for this modules - definitionsFactory = DefinitionsUtil.getDefinitionsFactory(getServletContext()); + definitionsFactory = ((TilesUtilStrutsImpl)TilesUtil.getTilesUtil()).getDefinitionsFactory(getServletContext(), moduleConfig); if( definitionsFactory == null ) { // problem ! if(log.isErrorEnabled())
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>