A B C E G I L R S

A

actionPerformed(int, String, String, ClassLoader) - Method in interface com.myarch.reloader.LoadActionListener
Reloader calls this method every time it tries to load a class.
actionPerformed(int, String, String, ClassLoader) - Method in class com.myarch.reloader.ReloadLogger
Reloader calls this method every time it tries to load a class.
Actions - interface com.myarch.reloader.Actions.
Defines load/reload action constants used by the LoadActionListener (logger).
addClass(String) - Method in class com.myarch.reloader.ClassCollectionController
Adds a reloadable class to the class list.
addPackage(String) - Method in class com.myarch.reloader.ReloadPackageController
Add a package to the list of packages with reloadable classes.
AFTER_PARENT_LOAD - Static variable in interface com.myarch.reloader.Actions
Sent after a class was loaded successfully by the parent loader.
AFTER_RELOAD - Static variable in interface com.myarch.reloader.Actions
Sent after a class was loaded successfully by Reloader.

B

BEFORE_PARENT_LOAD - Static variable in interface com.myarch.reloader.Actions
Sent after the unsuccessful class loading attempt by Reloader and before the parent loader is called.
BEFORE_RELOAD - Static variable in interface com.myarch.reloader.Actions
Sent before the attempt to load a class made by Reloader.

C

ClassCollectionController - class com.myarch.reloader.ClassCollectionController.
Allows for loading the classes listed with ClassCollectionController.
ClassCollectionController() - Constructor for class com.myarch.reloader.ClassCollectionController
Constructs a new ClassCollectionController with the empty class list.
ClassCollectionController(Collection) - Constructor for class com.myarch.reloader.ClassCollectionController
Constructs a new ClassCollectionController with the specified collection of classes.
ClassCollectionController(String) - Constructor for class com.myarch.reloader.ClassCollectionController
Constructs a new ClassCollectionController with the class list containing a single class.
com.myarch.reloader - package com.myarch.reloader
Provides classes for advanced class loading.

E

ExceptionCollectionController - class com.myarch.reloader.ExceptionCollectionController.
Allows for loading only the classes NOT listed with ExceptionCollectionController.
ExceptionCollectionController() - Constructor for class com.myarch.reloader.ExceptionCollectionController
Constructs a new ExceptionCollectionController with the empty class list.
ExceptionCollectionController(Collection) - Constructor for class com.myarch.reloader.ExceptionCollectionController
Constructs a new ExceptionCollectionController with the specified collection of classes.
ExceptionCollectionController(String) - Constructor for class com.myarch.reloader.ExceptionCollectionController
Constructs a new ExceptionCollectionController with a class list containing a single class.

G

getClasses() - Method in class com.myarch.reloader.ClassCollectionController
Returns the reloadable class list.
getMessagePrefix() - Method in class com.myarch.reloader.ReloadLogger
Returns current prefix for logger messages.
getPackages() - Method in class com.myarch.reloader.ReloadPackageController
Returns the current list (collection) of packages.
getParent() - Method in class com.myarch.reloader.Reloader
Returns currently set parent class loader.
getURLs() - Method in class com.myarch.reloader.Reloader
Returns the current array of URLs for class loader.

I

isClassFound(String) - Method in class com.myarch.reloader.ClassCollectionController
Returns true if class is found in the list of reloadable classes.
isLoadByParentAllowed(String, String, ClassLoader) - Method in class com.myarch.reloader.ReloadPackageController
Prohibits using parent loader for loadable classes.
isLoadByParentAllowed(String, String, ClassLoader) - Method in class com.myarch.reloader.ReloadMainController
Prohibits using parent loader for loadable classes.
isLoadByParentAllowed(String, String, ClassLoader) - Method in class com.myarch.reloader.ReloadAllController
Allows using parent loader.
isLoadByParentAllowed(String, String, ClassLoader) - Method in class com.myarch.reloader.ClassCollectionController
Prohibits using parent loader for loadable classes.
isLoadByParentAllowed(String, String, ClassLoader) - Method in class com.myarch.reloader.ExceptionCollectionController
Prohibits using parent loader for loadable classes.
isLoadByParentAllowed(String, String, ClassLoader) - Method in interface com.myarch.reloader.LoadController
If the class loader used by 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.

L

LoadActionListener - interface com.myarch.reloader.LoadActionListener.
LoadActionListener can be used to develop loggers.
LoadController - interface com.myarch.reloader.LoadController.
After 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).
LOGGING_ENABLE_PROPERTY - Static variable in class com.myarch.reloader.ReloadLogger
 
loggingEnabled() - Static method in class com.myarch.reloader.ReloadLogger
Returns true if the logging is on.

R

RELOAD_ENABLE_PROPERTY - Static variable in class com.myarch.reloader.Reloader
System property to turn reloading on/off.
reload(String) - Method in class com.myarch.reloader.Reloader
Loads the class and classes used by this class depending on the controller.
ReloadAllController - class com.myarch.reloader.ReloadAllController.
Makes Reloader to re-load all classes passed to it.
ReloadAllController() - Constructor for class com.myarch.reloader.ReloadAllController
 
reloadEnabled() - Static method in class com.myarch.reloader.Reloader
 
Reloader - class com.myarch.reloader.Reloader.
Performs dynamic class loading (reloading).
Reloader() - Constructor for class com.myarch.reloader.Reloader
Constructs a new Reloader with default settings.
Reloader(ClassLoader) - Constructor for class com.myarch.reloader.Reloader
Constructs a new Reloader and sets parent class loader for URLClassLoader that will be used for reload() call.
Reloader(LoadController) - Constructor for class com.myarch.reloader.Reloader
Constructs a new Reloader for the specified controller.
Reloader(URL[]) - Constructor for class com.myarch.reloader.Reloader
Constructs a new Reloader for the specified URLs and default controller.
Reloader(URL[], ClassLoader) - Constructor for class com.myarch.reloader.Reloader
Constructs a new Reloader for the specified URLs, parent class loader and default controller.
Reloader(URL[], LoadController) - Constructor for class com.myarch.reloader.Reloader
Constructs a new Reloader for the specified URLs and controller.
ReloadLogger - class com.myarch.reloader.ReloadLogger.
Logs AFTER_RELOAD event produced by Reloader after it successfully loads a class.
ReloadLogger() - Constructor for class com.myarch.reloader.ReloadLogger
Construct a new ReloadLogger wich will use System.out for logging.
ReloadLogger(PrintStream) - Constructor for class com.myarch.reloader.ReloadLogger
Construct a new ReloadLogger for the specified PrintStream.
ReloadMainController - class com.myarch.reloader.ReloadMainController.
Makes Reloader to re-load only the main class.
ReloadMainController() - Constructor for class com.myarch.reloader.ReloadMainController
 
ReloadPackageController - class com.myarch.reloader.ReloadPackageController.
Allows loading all classes in the packages listed with ReloadPackageController.
ReloadPackageController() - Constructor for class com.myarch.reloader.ReloadPackageController
Constructs a new ReloadPackageController with the empty package list.
ReloadPackageController(Collection) - Constructor for class com.myarch.reloader.ReloadPackageController
Constructs a new ReloadPackageController with the specified collection of packages.
ReloadPackageController(String) - Constructor for class com.myarch.reloader.ReloadPackageController
Constructs a new ReloadPackageController with a package list containing a single package.

S

setClasses(Collection) - Method in class com.myarch.reloader.ClassCollectionController
Sets the collection of classes that can be reloaded.
setLoadController(LoadController) - Method in class com.myarch.reloader.Reloader
Sets the controller object for Reloader.
setLogger(LoadActionListener) - Method in class com.myarch.reloader.Reloader
Sets custom logger.
setLoggingOff() - Static method in class com.myarch.reloader.ReloadLogger
Turns the logging off.
setLoggingOn() - Static method in class com.myarch.reloader.ReloadLogger
Turns the logging on.
setMessagePrefix(String) - Method in class com.myarch.reloader.ReloadLogger
Sets the prefix for all logger messages.
setOutStream(PrintStream) - Method in class com.myarch.reloader.ReloadLogger
Sets the output stream for logging.
setPackages(Collection) - Method in class com.myarch.reloader.ReloadPackageController
Sets the collection of packages.
setParent(ClassLoader) - Method in class com.myarch.reloader.Reloader
Sets parent class loader for URLClassLoader that will be used for reload() call.
setReloadOff() - Static method in class com.myarch.reloader.Reloader
Turns reloading off for all instances of Reloader.
setReloadOn() - Static method in class com.myarch.reloader.Reloader
Turns reloading on for all instances of Reloader.
setURLs(URL[]) - Method in class com.myarch.reloader.Reloader
Sets URLs for Reloader.

A B C E G I L R S

Copyright © 2001 Alexander Ananiev & MyArch.com. All Rights Reserved.