Interface ClassVisibilityChecker

  • All Known Subinterfaces:
    WebAppClassLoader.Context
    All Known Implementing Classes:
    CachingWebAppClassLoader, WebAppClassLoader, WebAppContext

    @Deprecated(since="2021-05-27")
    public interface ClassVisibilityChecker
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    ClassVisibilityChecker Interface to be implemented by classes capable of checking class visibility for a context.
    • Method Detail

      • isSystemClass

        boolean isSystemClass​(java.lang.Class<?> clazz)
        Deprecated.
        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)
        Deprecated.
        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.