Package org.eclipse.jetty.webapp
Interface WebAppClassLoader.Context
- 
- All Superinterfaces:
- ClassVisibilityChecker
 - All Known Implementing Classes:
- AntWebAppContext,- JettyWebAppContext,- QuickStartWebApp,- WebAppContext
 - Enclosing class:
- WebAppClassLoader
 
 public static interface WebAppClassLoader.Context extends ClassVisibilityChecker The Context in which the classloader operates.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetExtraClasspath()java.security.PermissionCollectiongetPermissions()booleanisParentLoaderPriority()booleanisServerResource(java.lang.String name, java.net.URL parentUrl)booleanisSystemResource(java.lang.String name, java.net.URL webappUrl)ResourcenewResource(java.lang.String urlOrPath)Convert a URL or path to a Resource.- 
Methods inherited from interface org.eclipse.jetty.util.ClassVisibilityCheckerisServerClass, isSystemClass
 
- 
 
- 
- 
- 
Method Detail- 
newResourceResource newResource(java.lang.String urlOrPath) throws java.io.IOException Convert a URL or path to a Resource. The default implementation is a wrapper forResource.newResource(String).- Parameters:
- urlOrPath- The URL or path to convert
- Returns:
- The Resource for the URL/path
- Throws:
- java.io.IOException- The Resource could not be created.
 
 - 
getPermissionsjava.security.PermissionCollection getPermissions() - Returns:
- Returns the permissions.
 
 - 
isParentLoaderPriorityboolean isParentLoaderPriority() - Returns:
- True if the classloader should delegate first to the parent classloader (standard java behaviour) or false if the classloader should first try to load from WEB-INF/lib or WEB-INF/classes (servlet spec recommendation).
 
 - 
getExtraClasspathjava.lang.String getExtraClasspath() 
 - 
isServerResourceboolean isServerResource(java.lang.String name, java.net.URL parentUrl)
 - 
isSystemResourceboolean isSystemResource(java.lang.String name, java.net.URL webappUrl)
 
- 
 
-