public class HotDeployManager
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addClassPathDirectory(java.lang.String directory)
You may add directories via API which are always added to the classpath of the
classloader, that is created when using hot deployment.
|
static java.lang.ClassLoader |
currentClassLoader()
Current class loader - either the normal web app classloader, or - in case
of hot deployment - the hot deploy class loader that is currently active.
|
static void |
initialize(ServletContext servletContext) |
static boolean |
isHotDeploymentIsActive()
Check if hot deployment is activiated - or not.
|
static void |
removeAllClassPathDirectories()
|
static void |
removeClassPathDirectory(java.lang.String directory)
|
static void |
triggerCreationOfNewInstance()
Creates a new instance of the classloader that is internally used to load
the hot deployment classes.
|
static void |
triggerHotDeployDueToFileTrigger() |
public static void initialize(ServletContext servletContext)
public static void triggerCreationOfNewInstance()
public static java.lang.ClassLoader currentClassLoader()
public static void addClassPathDirectory(java.lang.String directory)
public static void removeClassPathDirectory(java.lang.String directory)
public static void removeAllClassPathDirectories()
public static boolean isHotDeploymentIsActive()
public static void triggerHotDeployDueToFileTrigger()
Copyright © CaptainCasa Gmbh. All Rights Reserved.