org.apache.tiles.TilesException Java Examples
The following examples show how to use
org.apache.tiles.TilesException.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TilesConfigurer.java From spring-analysis-note with MIT License | 5 votes |
/** * Creates and exposes a TilesContainer for this web application, * delegating to the TilesInitializer. * @throws TilesException in case of setup failure */ @Override public void afterPropertiesSet() throws TilesException { Assert.state(this.servletContext != null, "No ServletContext available"); ApplicationContext preliminaryContext = new SpringWildcardServletTilesApplicationContext(this.servletContext); if (this.tilesInitializer == null) { this.tilesInitializer = new SpringTilesInitializer(); } this.tilesInitializer.initialize(preliminaryContext); }
Example #2
Source File: TilesConfigurer.java From spring-analysis-note with MIT License | 5 votes |
/** * Removes the TilesContainer from this web application. * @throws TilesException in case of cleanup failure */ @Override public void destroy() throws TilesException { if (this.tilesInitializer != null) { this.tilesInitializer.destroy(); } }
Example #3
Source File: TilesConfigurer.java From spring4-understanding with Apache License 2.0 | 5 votes |
/** * Creates and exposes a TilesContainer for this web application, * delegating to the TilesInitializer. * @throws TilesException in case of setup failure */ @Override public void afterPropertiesSet() throws TilesException { TilesApplicationContext preliminaryContext = new SpringWildcardServletTilesApplicationContext(this.servletContext); if (this.tilesInitializer == null) { this.tilesInitializer = createTilesInitializer(); } this.tilesInitializer.initialize(preliminaryContext); }
Example #4
Source File: TilesConfigurer.java From java-technology-stack with MIT License | 5 votes |
/** * Creates and exposes a TilesContainer for this web application, * delegating to the TilesInitializer. * @throws TilesException in case of setup failure */ @Override public void afterPropertiesSet() throws TilesException { Assert.state(this.servletContext != null, "No ServletContext available"); ApplicationContext preliminaryContext = new SpringWildcardServletTilesApplicationContext(this.servletContext); if (this.tilesInitializer == null) { this.tilesInitializer = new SpringTilesInitializer(); } this.tilesInitializer.initialize(preliminaryContext); }
Example #5
Source File: TilesConfigurer.java From java-technology-stack with MIT License | 5 votes |
/** * Removes the TilesContainer from this web application. * @throws TilesException in case of cleanup failure */ @Override public void destroy() throws TilesException { if (this.tilesInitializer != null) { this.tilesInitializer.destroy(); } }
Example #6
Source File: TilesConfigurer.java From spring4-understanding with Apache License 2.0 | 5 votes |
/** * Creates and exposes a TilesContainer for this web application, * delegating to the TilesInitializer. * @throws TilesException in case of setup failure */ @Override public void afterPropertiesSet() throws TilesException { ApplicationContext preliminaryContext = new SpringWildcardServletTilesApplicationContext(this.servletContext); if (this.tilesInitializer == null) { this.tilesInitializer = new SpringTilesInitializer(); } this.tilesInitializer.initialize(preliminaryContext); }
Example #7
Source File: TilesConfigurer.java From lams with GNU General Public License v2.0 | 5 votes |
/** * Creates and exposes a TilesContainer for this web application, * delegating to the TilesInitializer. * @throws TilesException in case of setup failure */ @Override public void afterPropertiesSet() throws TilesException { ApplicationContext preliminaryContext = new SpringWildcardServletTilesApplicationContext(this.servletContext); if (this.tilesInitializer == null) { this.tilesInitializer = new SpringTilesInitializer(); } this.tilesInitializer.initialize(preliminaryContext); }
Example #8
Source File: TilesConfigurer.java From lams with GNU General Public License v2.0 | 5 votes |
/** * Creates and exposes a TilesContainer for this web application, * delegating to the TilesInitializer. * @throws TilesException in case of setup failure */ @Override public void afterPropertiesSet() throws TilesException { TilesApplicationContext preliminaryContext = new SpringWildcardServletTilesApplicationContext(this.servletContext); if (this.tilesInitializer == null) { this.tilesInitializer = createTilesInitializer(); } this.tilesInitializer.initialize(preliminaryContext); }
Example #9
Source File: SpringBeanPreparerFactory.java From lams with GNU General Public License v2.0 | 4 votes |
@Override protected ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException { return context.getBean(name, ViewPreparer.class); }
Example #10
Source File: TilesConfigurer.java From spring4-understanding with Apache License 2.0 | 4 votes |
/** * Removes the TilesContainer from this web application. * @throws TilesException in case of cleanup failure */ @Override public void destroy() throws TilesException { this.tilesInitializer.destroy(); }
Example #11
Source File: SpringBeanPreparerFactory.java From spring4-understanding with Apache License 2.0 | 4 votes |
@Override protected ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException { return context.getBean(name, ViewPreparer.class); }
Example #12
Source File: TilesConfigurer.java From spring4-understanding with Apache License 2.0 | 4 votes |
/** * Removes the TilesContainer from this web application. * @throws TilesException in case of cleanup failure */ @Override public void destroy() throws TilesException { this.tilesInitializer.destroy(); }
Example #13
Source File: SpringBeanPreparerFactory.java From spring4-understanding with Apache License 2.0 | 4 votes |
@Override protected ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException { return context.getBean(name, ViewPreparer.class); }
Example #14
Source File: TilesConfigurer.java From lams with GNU General Public License v2.0 | 4 votes |
/** * Removes the TilesContainer from this web application. * @throws TilesException in case of cleanup failure */ @Override public void destroy() throws TilesException { this.tilesInitializer.destroy(); }
Example #15
Source File: SpringBeanPreparerFactory.java From spring-analysis-note with MIT License | 4 votes |
@Override protected ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException { return context.getBean(name, ViewPreparer.class); }
Example #16
Source File: TilesConfigurer.java From lams with GNU General Public License v2.0 | 4 votes |
/** * Removes the TilesContainer from this web application. * @throws TilesException in case of cleanup failure */ @Override public void destroy() throws TilesException { this.tilesInitializer.destroy(); }
Example #17
Source File: SpringBeanPreparerFactory.java From lams with GNU General Public License v2.0 | 4 votes |
@Override protected ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException { return context.getBean(name, ViewPreparer.class); }
Example #18
Source File: SpringBeanPreparerFactory.java From java-technology-stack with MIT License | 4 votes |
@Override protected ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException { return context.getBean(name, ViewPreparer.class); }
Example #19
Source File: AbstractSpringPreparerFactory.java From lams with GNU General Public License v2.0 | 2 votes |
/** * Obtain a preparer instance for the given preparer name, * based on the given Spring WebApplicationContext. * @param name the name of the preparer * @param context the current Spring WebApplicationContext * @return the preparer instance * @throws TilesException in case of failure */ protected abstract ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException;
Example #20
Source File: AbstractSpringPreparerFactory.java From spring4-understanding with Apache License 2.0 | 2 votes |
/** * Obtain a preparer instance for the given preparer name, * based on the given Spring WebApplicationContext. * @param name the name of the preparer * @param context the current Spring WebApplicationContext * @return the preparer instance * @throws TilesException in case of failure */ protected abstract ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException;
Example #21
Source File: AbstractSpringPreparerFactory.java From lams with GNU General Public License v2.0 | 2 votes |
/** * Obtain a preparer instance for the given preparer name, * based on the given Spring WebApplicationContext. * @param name the name of the preparer * @param context the current Spring WebApplicationContext * @return the preparer instance * @throws TilesException in case of failure */ protected abstract ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException;
Example #22
Source File: AbstractSpringPreparerFactory.java From java-technology-stack with MIT License | 2 votes |
/** * Obtain a preparer instance for the given preparer name, * based on the given Spring WebApplicationContext. * @param name the name of the preparer * @param context the current Spring WebApplicationContext * @return the preparer instance * @throws TilesException in case of failure */ protected abstract ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException;
Example #23
Source File: AbstractSpringPreparerFactory.java From spring4-understanding with Apache License 2.0 | 2 votes |
/** * Obtain a preparer instance for the given preparer name, * based on the given Spring WebApplicationContext. * @param name the name of the preparer * @param context the current Spring WebApplicationContext * @return the preparer instance * @throws TilesException in case of failure */ protected abstract ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException;
Example #24
Source File: AbstractSpringPreparerFactory.java From spring-analysis-note with MIT License | 2 votes |
/** * Obtain a preparer instance for the given preparer name, * based on the given Spring WebApplicationContext. * @param name the name of the preparer * @param context the current Spring WebApplicationContext * @return the preparer instance * @throws TilesException in case of failure */ protected abstract ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException;