public class TomEEWebappClassLoader
extends ParallelWebappClassLoader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_EXTENSION |
static java.lang.String |
TOMEE_EAR_DEFAULT |
static java.lang.String |
TOMEE_WEBAPP_FIRST |
Constructor and Description |
---|
TomEEWebappClassLoader() |
TomEEWebappClassLoader(java.lang.ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
void |
addURL(java.net.URL url) |
static void |
cleanContext() |
TomEEWebappClassLoader |
copyWithoutTransformers() |
protected boolean |
defaultEarBehavior() |
void |
destroy() |
boolean |
equals(java.lang.Object other) |
protected boolean |
filter(java.lang.String inName,
boolean isClassName) |
java.util.Collection<java.io.File> |
getAdditionalRepos() |
java.lang.ClassLoader |
getInternalParent() |
java.io.InputStream |
getResourceAsStream(java.lang.String name) |
java.util.Enumeration<java.net.URL> |
getResources(java.lang.String name) |
int |
hashCode() |
void |
initAdditionalRepos() |
static void |
initContext(ClassLoaderConfigurer configurer) |
static void |
initContext(Context ctx) |
void |
internalDestroy() |
void |
internalStop() |
boolean |
isForceStopPhase() |
boolean |
isRestarting() |
boolean |
isStopped() |
java.lang.Class<?> |
loadClass(java.lang.String name,
boolean resolve) |
void |
restarted() |
void |
restarting() |
void |
setDelegate(boolean delegate) |
void |
setResources(WebResourceRoot resources) |
void |
setWebResourceRoot(LazyStopStandardRoot webResourceRoot) |
void |
start() |
void |
stop() |
public static final java.lang.String TOMEE_WEBAPP_FIRST
public static final java.lang.String TOMEE_EAR_DEFAULT
public static final java.lang.String CLASS_EXTENSION
public TomEEWebappClassLoader()
public TomEEWebappClassLoader(java.lang.ClassLoader parent)
public java.lang.ClassLoader getInternalParent()
public void setDelegate(boolean delegate)
public void stop() throws LifecycleException
LifecycleException
public java.util.Collection<java.io.File> getAdditionalRepos()
public java.lang.Class<?> loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public void setResources(WebResourceRoot resources)
protected boolean filter(java.lang.String inName, boolean isClassName)
public void internalDestroy()
public void internalStop() throws LifecycleException
LifecycleException
public void restarting()
public void restarted()
public boolean isRestarting()
public boolean isForceStopPhase()
public boolean isStopped()
public void initAdditionalRepos()
public void start() throws LifecycleException
LifecycleException
public void addURL(java.net.URL url)
protected boolean defaultEarBehavior()
public java.io.InputStream getResourceAsStream(java.lang.String name)
public java.util.Enumeration<java.net.URL> getResources(java.lang.String name) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object other)
public int hashCode()
public TomEEWebappClassLoader copyWithoutTransformers()
public void destroy()
public static void initContext(ClassLoaderConfigurer configurer)
public static void initContext(Context ctx)
public static void cleanContext()
public void setWebResourceRoot(LazyStopStandardRoot webResourceRoot)