Package org.joinfaces
Class ServletContextUtils
java.lang.Object
org.joinfaces.ServletContextUtils
Utility Methods for working with
ServletContext
s.-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassLoader
getClassLoader
(ServletContext servletContext) Jetty-safe variant of callingServletContext.getClassLoader()
-
Method Details
-
getClassLoader
Jetty-safe variant of callingServletContext.getClassLoader()
- Parameters:
servletContext
- TheServletContext
on whichServletContext.getClassLoader()
will be called.- Returns:
- The
ClassLoader
of the givenServletContext
.
-