Class WildcardServletTilesApplicationContext
- java.lang.Object
-
- org.apache.tiles.servlet.context.ServletTilesApplicationContext
-
- org.apache.tiles.servlet.wildcard.WildcardServletTilesApplicationContext
-
- All Implemented Interfaces:
org.apache.tiles.TilesApplicationContext
- Direct Known Subclasses:
WildcardServletTilesApplicationContext
public class WildcardServletTilesApplicationContext extends ServletTilesApplicationContext
Servlet-based implementation of the TilesApplicationContext interface that can resolve resources even using wildcards.- Since:
- 2.2.1
- Version:
- $Rev$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.core.io.support.ResourcePatternResolverresolverThe pattern resolver.
-
Constructor Summary
Constructors Constructor Description WildcardServletTilesApplicationContext(javax.servlet.ServletContext servletContext)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLgetResource(String path)Set<URL>getResources(String path)voidinitialize(javax.servlet.ServletContext context)-
Methods inherited from class org.apache.tiles.servlet.context.ServletTilesApplicationContext
createRequestContext, getApplicationScope, getContext, getInitParams, getServletContext, release
-
-
-
-
Method Detail
-
initialize
public void initialize(javax.servlet.ServletContext context)
- Overrides:
initializein classServletTilesApplicationContext
-
getResource
public URL getResource(String path) throws IOException
- Specified by:
getResourcein interfaceorg.apache.tiles.TilesApplicationContext- Overrides:
getResourcein classServletTilesApplicationContext- Throws:
IOException
-
getResources
public Set<URL> getResources(String path) throws IOException
- Specified by:
getResourcesin interfaceorg.apache.tiles.TilesApplicationContext- Overrides:
getResourcesin classServletTilesApplicationContext- Throws:
IOException
-
-