TomcatEmbeddedWebappClassLoader

open class TomcatEmbeddedWebappClassLoader : ParallelWebappClassLoader

Extension of Tomcat's ParallelWebappClassLoader that does not consider the system classloader. This is required to ensure that any custom context class loader is always used (as is the case with some executable archives).

Author

Phillip Webb

Andy Clement

Since

2.0.0

Constructors

Link copied to clipboard
constructor()
constructor(parent: ClassLoader)

Properties

Link copied to clipboard
val AFTER_DESTROY_EVENT: String = "after_destroy"
Link copied to clipboard
val AFTER_INIT_EVENT: String = "after_init"
Link copied to clipboard
val AFTER_START_EVENT: String = "after_start"
Link copied to clipboard
val AFTER_STOP_EVENT: String = "after_stop"
Link copied to clipboard
val BEFORE_DESTROY_EVENT: String = "before_destroy"
Link copied to clipboard
val BEFORE_INIT_EVENT: String = "before_init"
Link copied to clipboard
val BEFORE_START_EVENT: String = "before_start"
Link copied to clipboard
val BEFORE_STOP_EVENT: String = "before_stop"
Link copied to clipboard
Link copied to clipboard
val CONFIGURE_START_EVENT: String = "configure_start"
Link copied to clipboard
val CONFIGURE_STOP_EVENT: String = "configure_stop"
Link copied to clipboard
Link copied to clipboard
val PERIODIC_EVENT: String = "periodic"
Link copied to clipboard
val START_EVENT: String = "start"
Link copied to clipboard
open val state: LifecycleState
Link copied to clipboard
val STOP_EVENT: String = "stop"
Link copied to clipboard

Functions

Link copied to clipboard
open fun addLifecycleListener(listener: LifecycleListener)
Link copied to clipboard
open fun addTransformer(transformer: ClassFileTransformer)
Link copied to clipboard
open fun check(permission: Permission): Boolean
Link copied to clipboard
Link copied to clipboard
open fun close()
Link copied to clipboard
open fun copyWithoutTransformers(): ParallelWebappClassLoader
Link copied to clipboard
open fun destroy()
Link copied to clipboard
open fun findClass(name: String): Class<out Any>
Link copied to clipboard
open fun findLifecycleListeners(): Array<LifecycleListener>
Link copied to clipboard
open fun findResource(name: String): URL
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDelegate(): Boolean
Link copied to clipboard
open fun getHostName(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getResource(name: String): URL
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getStateName(): String
Link copied to clipboard
Link copied to clipboard
open fun getSystemResource(name: String): URL
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getURLs(): Array<URL>
Link copied to clipboard
open fun getWebappName(): String
Link copied to clipboard
Link copied to clipboard
open fun init()
Link copied to clipboard
open fun loadClass(name: String): Class<out Any>
open fun loadClass(name: String, resolve: Boolean): Class<out Any>
Link copied to clipboard
open fun modified(): Boolean
Link copied to clipboard
open fun newInstance(urls: Array<URL>, parent: ClassLoader): URLClassLoader
Link copied to clipboard
open fun removeLifecycleListener(listener: LifecycleListener)
Link copied to clipboard
Link copied to clipboard
open fun resources(name: String): Stream<URL>
Link copied to clipboard
open fun setClassAssertionStatus(className: String, enabled: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setDelegate(delegate: Boolean)
Link copied to clipboard
open fun setNotFoundClassResourceCacheSize(notFoundClassResourceCacheSize: Int)
Link copied to clipboard
open fun setPackageAssertionStatus(packageName: String, enabled: Boolean)
Link copied to clipboard
open fun setResources(resources: WebResourceRoot)
Link copied to clipboard
open fun start()
Link copied to clipboard
open fun stop()
Link copied to clipboard
open fun toString(): String