org.scannotation
Class WarUrlFinder

java.lang.Object
  extended by org.scannotation.WarUrlFinder

public class WarUrlFinder
extends java.lang.Object

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
WarUrlFinder()
           
 
Method Summary
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
static 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WarUrlFinder

public WarUrlFinder()
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


Copyright © 2008. All Rights Reserved.