|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--org.apache.catalina.loader.StandardLoader
Standard implementation of the Loader interface that wraps the
AdaptiveClassLoader
implementation imported from the
Apache JServ project. This class loader supports detection of modified
Java classes, which can be used to implement auto-reload support.
This class loader is configured by adding the pathnames of directories,
JAR files, and ZIP files with the addRepository()
method,
prior to calling start()
. When a new class is required,
these repositories will be consulted first to locate the class. If it
is not present, the system class loader will be used instead.
フィールドの概要 | |
protected LifecycleSupport |
lifecycle
推奨されていません。 The lifecycle event support for this component. |
protected static StringManager |
sm
推奨されていません。 The string manager for this package. |
protected java.beans.PropertyChangeSupport |
support
推奨されていません。 The property change support for this component. |
インタフェース org.apache.catalina.Lifecycle から継承したフィールド |
START_EVENT, STOP_EVENT |
コンストラクタの概要 | |
StandardLoader()
推奨されていません。 Construct a new StandardLoader with no defined parent class loader (so that the actual parent will be the system class loader). |
|
StandardLoader(java.lang.ClassLoader parent)
推奨されていません。 Construct a new StandardLoader with the specified class loader to be defined as the parent of the ClassLoader we ultimately create. |
メソッドの概要 | |
void |
addLifecycleListener(LifecycleListener listener)
推奨されていません。 Add a lifecycle event listener to this component. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
推奨されていません。 Add a property change listener to this component. |
void |
addRepository(java.lang.String repository)
推奨されていません。 Add a new repository to the set of repositories for this class loader. |
java.lang.String[] |
findRepositories()
推奨されていません。 Return the set of repositories defined for this class loader. |
int |
getCheckInterval()
推奨されていません。 Return the check interval for this Loader. |
java.lang.ClassLoader |
getClassLoader()
推奨されていません。 Return the Java class loader to be used by this Container. |
Container |
getContainer()
推奨されていません。 Return the Container with which this Logger has been associated. |
int |
getDebug()
推奨されていません。 Return the debugging detail level for this component. |
boolean |
getDelegate()
推奨されていません。 Return the "follow standard delegation model" flag used to configure our ClassLoader. |
java.lang.String |
getInfo()
推奨されていません。 Return descriptive information about this Loader implementation and the corresponding version number, in the format <description>/<version> . |
java.lang.String |
getLoaderClass()
推奨されていません。 Return the ClassLoader class name. |
boolean |
getReloadable()
推奨されていません。 Return the reloadable flag for this Loader. |
boolean |
modified()
推奨されていません。 Has the internal repository associated with this Loader been modified, such that the loaded classes should be reloaded? |
void |
propertyChange(java.beans.PropertyChangeEvent event)
推奨されていません。 Process property change events from our associated Context. |
void |
removeLifecycleListener(LifecycleListener listener)
推奨されていません。 Remove a lifecycle event listener from this component. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
推奨されていません。 Remove a property change listener from this component. |
void |
run()
推奨されていません。 The background thread that checks for session timeouts and shutdown. |
void |
setCheckInterval(int checkInterval)
推奨されていません。 Set the check interval for this Loader. |
void |
setContainer(Container container)
推奨されていません。 Set the Container with which this Logger has been associated. |
void |
setDebug(int debug)
推奨されていません。 Set the debugging detail level for this component. |
void |
setDelegate(boolean delegate)
推奨されていません。 Set the "follow standard delegation model" flag used to configure our ClassLoader. |
void |
setLoaderClass()
推奨されていません。 Set the ClassLoader class name. |
void |
setReloadable(boolean reloadable)
推奨されていません。 Set the reloadable flag for this Loader. |
void |
start()
推奨されていません。 Start this component, initializing our associated class loader. |
void |
stop()
推奨されていません。 Stop this component, finalizing our associated class loader. |
java.lang.String |
toString()
推奨されていません。 Return a String representation of this component. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
protected LifecycleSupport lifecycle
protected static final StringManager sm
protected java.beans.PropertyChangeSupport support
コンストラクタの詳細 |
public StandardLoader()
public StandardLoader(java.lang.ClassLoader parent)
parent
- The parent class loaderメソッドの詳細 |
public int getCheckInterval()
public void setCheckInterval(int checkInterval)
checkInterval
- The new check intervalpublic java.lang.ClassLoader getClassLoader()
Loader
内の getClassLoader
public Container getContainer()
Loader
内の getContainer
public void setContainer(Container container)
Loader
内の setContainer
container
- The associated Containerpublic int getDebug()
public void setDebug(int debug)
debug
- The new debugging detail levelpublic boolean getDelegate()
Loader
内の getDelegate
public void setDelegate(boolean delegate)
Loader
内の setDelegate
delegate
- The new flagpublic java.lang.String getInfo()
<description>/<version>
.Loader
内の getInfo
public java.lang.String getLoaderClass()
public void setLoaderClass()
loaderClass
- The new ClassLoader class namepublic boolean getReloadable()
Loader
内の getReloadable
public void setReloadable(boolean reloadable)
Loader
内の setReloadable
reloadable
- The new reloadable flagpublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Loader
内の addPropertyChangeListener
listener
- The listener to addpublic void addRepository(java.lang.String repository)
Loader
内の addRepository
repository
- Repository to be addedpublic java.lang.String[] findRepositories()
Loader
内の findRepositories
public boolean modified()
Loader
内の modified
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Loader
内の removePropertyChangeListener
listener
- The listener to removepublic java.lang.String toString()
java.lang.Object
内の toString
public void addLifecycleListener(LifecycleListener listener)
Lifecycle
内の addLifecycleListener
listener
- The listener to addpublic void removeLifecycleListener(LifecycleListener listener)
Lifecycle
内の removeLifecycleListener
listener
- The listener to removepublic void start() throws LifecycleException
Lifecycle
内の start
LifecycleException
- if a lifecycle error occurspublic void stop() throws LifecycleException
Lifecycle
内の stop
LifecycleException
- if a lifecycle error occurspublic void propertyChange(java.beans.PropertyChangeEvent event)
java.beans.PropertyChangeListener
内の propertyChange
event
- The property change event that has occurredpublic void run()
java.lang.Runnable
内の run
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |