Package org.eclipse.jetty.util
Interface ClassVisibilityChecker
-
- All Known Subinterfaces:
WebAppClassLoader.Context
- All Known Implementing Classes:
AntWebAppContext
,CachingWebAppClassLoader
,JettyWebAppContext
,OSGiWebappClassLoader
,QuickStartWebApp
,WebAppClassLoader
,WebAppContext
public interface ClassVisibilityChecker
ClassVisibilityChecker Interface to be implemented by classes capable of checking class visibility for a context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isServerClass(java.lang.Class<?> clazz)
Is the class a Server Class.boolean
isSystemClass(java.lang.Class<?> clazz)
Is the class a System Class.
-
-
-
Method Detail
-
isSystemClass
boolean isSystemClass(java.lang.Class<?> clazz)
Is the class a System Class. A System class is a class that is visible to a webapplication, but that cannot be overridden by the contents of WEB-INF/lib or WEB-INF/classes- Parameters:
clazz
- The fully qualified name of the class.- Returns:
- True if the class is a system class.
-
isServerClass
boolean isServerClass(java.lang.Class<?> clazz)
Is the class a Server Class. A Server class is a class that is part of the implementation of the server and is NIT visible to a webapplication. The web application may provide it's own implementation of the class, to be loaded from WEB-INF/lib or WEB-INF/classes- Parameters:
clazz
- The fully qualified name of the class.- Returns:
- True if the class is a server class.
-
-