org.scannotation
Class WarUrlFinder
java.lang.Object
org.scannotation.WarUrlFinder
public class WarUrlFinder
- extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Method Summary |
static URL |
findWebInfClassesPath(javax.servlet.ServletContext servletContext)
Find the URL pointing to "/WEB-INF/classes" This method may not work in conjunction with IteratorFactory
if your servlet container does not extract the /WEB-INF/classes into a real file-based directory |
static URL |
findWebInfClassesPath(javax.servlet.ServletContextEvent servletContextEvent)
|
static URL[] |
findWebInfLibClasspaths(javax.servlet.ServletContext servletContext)
|
static URL[] |
findWebInfLibClasspaths(javax.servlet.ServletContextEvent servletContextEvent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WarUrlFinder
public WarUrlFinder()
findWebInfLibClasspaths
public static URL[] findWebInfLibClasspaths(javax.servlet.ServletContextEvent servletContextEvent)
findWebInfLibClasspaths
public static URL[] findWebInfLibClasspaths(javax.servlet.ServletContext servletContext)
findWebInfClassesPath
public static URL findWebInfClassesPath(javax.servlet.ServletContextEvent servletContextEvent)
findWebInfClassesPath
public static URL findWebInfClassesPath(javax.servlet.ServletContext servletContext)
- Find the URL pointing to "/WEB-INF/classes" This method may not work in conjunction with IteratorFactory
if your servlet container does not extract the /WEB-INF/classes into a real file-based directory
- Parameters:
servletContext
-
- Returns:
- null if cannot determin /WEB-INF/classes
Copyright © 2011. All Rights Reserved.