Class AbstractSpringPreparerFactory

    • Constructor Detail

      • AbstractSpringPreparerFactory

        public AbstractSpringPreparerFactory()
    • Method Detail

      • getPreparer

        public org.apache.tiles.preparer.ViewPreparer getPreparer​(String name,
                                                                  org.apache.tiles.context.TilesRequestContext context)
                                                           throws org.apache.tiles.TilesException
        Specified by:
        getPreparer in interface org.apache.tiles.preparer.PreparerFactory
        Throws:
        org.apache.tiles.TilesException
      • getPreparer

        protected abstract org.apache.tiles.preparer.ViewPreparer getPreparer​(String name,
                                                                              org.springframework.web.context.WebApplicationContext context)
                                                                       throws org.apache.tiles.TilesException
        Obtain a preparer instance for the given preparer name, based on the given Spring WebApplicationContext.
        Parameters:
        name - the name of the preparer
        context - the current Spring WebApplicationContext
        Returns:
        the preparer instance
        Throws:
        org.apache.tiles.TilesException - in case of failure