|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Reloader
calls this method every time it tries to load a class.
Reloader
calls this method every time it tries to load a class.
LoadActionListener
(logger).Reloader
.
Reloader
and before the parent loader is called.
Reloader
.
ClassCollectionController
.
ClassCollectionController
with the empty
class list.
ClassCollectionController
with the
specified collection of classes.
ClassCollectionController
with the class list
containing a single class.
ExceptionCollectionController
.
ExceptionCollectionController
with the empty
class list.
ExceptionCollectionController
with the
specified collection of classes.
ExceptionCollectionController
with a class list
containing a single class.
Reloader
fails to load a loadable class
(isReloadAllowed(...)==true)
it may delegate to its parent loader.
- isReloadAllowed(String, String, ClassLoader) -
Method in class com.myarch.reloader.ReloadPackageController
- Returns
true
if a class belongs to one of the packages from the
package list.
- isReloadAllowed(String, String, ClassLoader) -
Method in class com.myarch.reloader.ReloadMainController
- Returns
true
if a class to reload is the main class.
- isReloadAllowed(String, String, ClassLoader) -
Method in class com.myarch.reloader.ReloadAllController
- Always returns
true
thus forcing Reloader
to load all classes.
- isReloadAllowed(String, String, ClassLoader) -
Method in class com.myarch.reloader.ClassCollectionController
- Returns
true
if a class belongs to the list of
reloadable classes and can be reloaded.
- isReloadAllowed(String, String, ClassLoader) -
Method in class com.myarch.reloader.ExceptionCollectionController
- Returns
true
if a class is NOT among the classes in the class list
- isReloadAllowed(String, String, ClassLoader) -
Method in interface com.myarch.reloader.LoadController
- Class loader will try to load a class only if this method returns
true
.
LoadActionListener
can be used to develop loggers. Reloader.reload()
was called and the main class was loaded, JVM uses the main class' class loader
for all classes that the main class uses (calls, extends or refers to). true
if the logging is on.
Reloader
to re-load all classes passed to it.
Reloader
with default settings.
Reloader
and sets
parent class loader for URLClassLoader
that will be
used for reload()
call.
Reloader
for the specified controller.
Reloader
for the specified URLs and
default controller.
Reloader
for the specified URLs, parent class loader and
default controller.
Reloader
for the specified URLs and controller.
Reloader
after it successfully loads a class.
ReloadLogger
wich will use System.out
for logging.
ReloadLogger
for the specified PrintStream
.
Reloader
to re-load only the main class.
ReloadPackageController
.ReloadPackageController
with the empty
package list.
ReloadPackageController
with the
specified collection of packages.
ReloadPackageController
with a package list
containing a single package.
Reloader
.
URLClassLoader
that will be
used for reload()
call.
Reloader
.
Reloader
.
Reloader
.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |