|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.web.tomcat.tc5.WebCtxLoader
Initial version of a JBoss implementation of the Tomcat Loader.
| Field Summary | |
protected org.jboss.web.tomcat.tc5.WebCtxLoader.ENCLoader |
ctxLoader
The ClassLoader returned from getClassLoader |
protected RepositoryClassLoader (src) |
delegate
The war UCL used to load the war classes |
protected java.lang.ClassLoader |
encLoader
The ClassLoader used to scope the ENC |
protected java.net.URL |
warURL
|
protected Container |
webContainer
|
| Method Summary | |
void |
addLifecycleListener(LifecycleListener listener)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
addRepository(java.lang.String repository)
|
void |
backgroundProcess()
|
LifecycleListener[] |
findLifecycleListeners()
|
java.lang.String[] |
findRepositories()
|
java.lang.ClassLoader |
getClassLoader()
We must pass the wrapped encLoader as tomcat needs to see a unique class loader that is distinct from the thread context class loader seen to be in effect when the web app is started. |
Container |
getContainer()
|
boolean |
getDelegate()
|
java.lang.String |
getInfo()
|
boolean |
getReloadable()
|
boolean |
modified()
|
void |
removeLifecycleListener(LifecycleListener listener)
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
setContainer(Container container)
|
void |
setDelegate(boolean delegate)
|
void |
setReloadable(boolean reloadable)
|
void |
setWarURL(java.net.URL warURL)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.ClassLoader encLoader
protected org.jboss.web.tomcat.tc5.WebCtxLoader.ENCLoader ctxLoader
protected RepositoryClassLoader (src) delegate
protected Container webContainer
protected java.net.URL warURL
| Method Detail |
public void setWarURL(java.net.URL warURL)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic void addLifecycleListener(LifecycleListener listener)
public LifecycleListener[] findLifecycleListeners()
public void removeLifecycleListener(LifecycleListener listener)
public void start()
throws LifecycleException
LifecycleException
public void stop()
throws LifecycleException
LifecycleExceptionpublic void backgroundProcess()
public java.lang.ClassLoader getClassLoader()
org.apache.naming.resources.DirContextURLStreamHandlerpublic Container getContainer()
public void setContainer(Container container)
public boolean getDelegate()
public void setDelegate(boolean delegate)
public java.lang.String getInfo()
public boolean getReloadable()
public void setReloadable(boolean reloadable)
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void addRepository(java.lang.String repository)
public java.lang.String[] findRepositories()
public boolean modified()
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||