Package org.scannotation
Class WarUrlFinder
- java.lang.Object
-
- org.scannotation.WarUrlFinder
-
public class WarUrlFinder extends java.lang.Object
- Version:
- $Revision: 1 $
-
-
Constructor Summary
Constructors Constructor Description WarUrlFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.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 directorystatic java.net.URL
findWebInfClassesPath(javax.servlet.ServletContextEvent servletContextEvent)
static java.net.URL[]
findWebInfLibClasspaths(javax.servlet.ServletContext servletContext)
static java.net.URL[]
findWebInfLibClasspaths(javax.servlet.ServletContextEvent servletContextEvent)
-
-
-
Method Detail
-
findWebInfLibClasspaths
public static java.net.URL[] findWebInfLibClasspaths(javax.servlet.ServletContextEvent servletContextEvent)
-
findWebInfLibClasspaths
public static java.net.URL[] findWebInfLibClasspaths(javax.servlet.ServletContext servletContext)
-
findWebInfClassesPath
public static java.net.URL findWebInfClassesPath(javax.servlet.ServletContextEvent servletContextEvent)
-
findWebInfClassesPath
public static java.net.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
-
-