org.apache.jetspeed.decoration.validators
Class WebApplicationResourceValidator
java.lang.Object
org.apache.jetspeed.decoration.validators.WebApplicationResourceValidator
- All Implemented Interfaces:
- org.apache.jetspeed.decoration.ResourceValidator, org.springframework.web.context.ServletContextAware
public class WebApplicationResourceValidator
- extends Object
- implements org.apache.jetspeed.decoration.ResourceValidator, org.springframework.web.context.ServletContextAware
This implementation uses ServletContext.getResource()
to verify the existence of a resource.
- Author:
- Scott T. Weaver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
servletContext
private javax.servlet.ServletContext servletContext
WebApplicationResourceValidator
public WebApplicationResourceValidator()
resourceExists
public boolean resourceExists(String path)
- Specified by:
resourceExists
in interface org.apache.jetspeed.decoration.ResourceValidator
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Specified by:
setServletContext
in interface org.springframework.web.context.ServletContextAware
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.