Class Index | File Index

Classes


Class System.ClassLoader.ClassLoadEventManager

A Class load event manager is used to monitor the classes loaded by a specific ClassLoader.


Defined in: zwt.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct a ClassLoadEventManager object.
Method Summary
Method Attributes Method Name and Description
 
addClassLoadedHandler(function_handler)
Attach the specified handler to this EventManager.
 
onEvent(string_name, boolean_loaded)
Called by the parent ClassLoader to notify the result of a Class loading operation.
 
removeClassLoadedHandler(function_handler)
Detach the specified handler from the EventManager.
Class Detail
System.ClassLoader.ClassLoadEventManager()
Construct a ClassLoadEventManager object.
Author: Jeremy KUHN.
See:
System.ClassLoader
Method Detail
addClassLoadedHandler(function_handler)
Attach the specified handler to this EventManager.

The handler is called by the EventManager on Class load events, it takes two arguments: the name of the Class and a flag indicating whether it was successfully loaded.

Parameters:
{Function} function_handler
The handler to attach.

onEvent(string_name, boolean_loaded)
Called by the parent ClassLoader to notify the result of a Class loading operation.
Parameters:
{String} string_name
The Class name.
{Boolean} boolean_loaded
true if the load was successful.

removeClassLoadedHandler(function_handler)
Detach the specified handler from the EventManager.
Parameters:
{Function} function_handler
The handler to detach.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Nov 09 2011 19:29:06 GMT+0100 (CET)