org.apache.tiles.servlet.wildcard
Class WildcardServletTilesApplicationContext
java.lang.Object
org.apache.tiles.servlet.context.ServletTilesApplicationContext
org.apache.tiles.servlet.wildcard.WildcardServletTilesApplicationContext
- All Implemented Interfaces:
- 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: 817014 $ $Date: 2009-09-20 14:08:27 +0200 (dom, 20 set 2009) $
|
Field Summary |
protected org.springframework.core.io.support.ResourcePatternResolver |
resolver
The pattern resolver. |
|
Method Summary |
java.net.URL |
getResource(java.lang.String path)
|
java.util.Set<java.net.URL> |
getResources(java.lang.String path)
|
void |
initialize(javax.servlet.ServletContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resolver
protected org.springframework.core.io.support.ResourcePatternResolver resolver
- The pattern resolver.
- Since:
- 2.2.1
WildcardServletTilesApplicationContext
public WildcardServletTilesApplicationContext(javax.servlet.ServletContext servletContext)
- Constructor.
- Parameters:
servletContext - The servlet context.- Since:
- 2.2.1
initialize
public void initialize(javax.servlet.ServletContext context)
-
- Overrides:
initialize in class ServletTilesApplicationContext
getResource
public java.net.URL getResource(java.lang.String path)
throws java.io.IOException
-
- Specified by:
getResource in interface TilesApplicationContext- Overrides:
getResource in class ServletTilesApplicationContext
- Throws:
java.io.IOException
getResources
public java.util.Set<java.net.URL> getResources(java.lang.String path)
throws java.io.IOException
-
- Specified by:
getResources in interface TilesApplicationContext- Overrides:
getResources in class ServletTilesApplicationContext
- Throws:
java.io.IOException
Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.