net.dpml.transit.monitor
Interface RepositoryMonitor

All Superinterfaces:
Monitor
All Known Implementing Classes:
RepositoryMonitorAdapter, RepositoryMonitorRouter

public interface RepositoryMonitor
extends Monitor

Defintion of a repository monitor.

Version:
1.0.3
Author:
Digital Product Meta Library

Field Summary
 
Fields inherited from interface net.dpml.transit.monitor.Monitor
BOOTSTRAP_DEBUG_KEY
 
Method Summary
 void classloaderConstructed(String type, ClassLoader classloader)
          Handle notification of the creation of a new classloader.
 void establishedPluginClass(Class pluginClass)
          Handle notification of the establishment of a plugin class.
 void exceptionOccurred(String methodname, Exception e)
          Handle notification of an exception related to plugin establishment.
 void getPluginRequested(ClassLoader parent, URI uri, Object[] args)
          Handle notification of a request for the establishment of a plugin.
 void pluginConstructorFound(Constructor constructor, Object[] args)
          Handle notification of the discovery of a plugin constructor.
 void pluginInstantiated(Object pluginInstance)
          Handle notification of the instantiation of a plugin.
 void sequenceInfo(String info)
          Handle notification of an information message.
 void systemExpanded(URI plugin, URL[] urls)
          Handle notification of system classloader expansion.
 

Method Detail

sequenceInfo

void sequenceInfo(String info)
Handle notification of an information message.

Parameters:
info - the message

getPluginRequested

void getPluginRequested(ClassLoader parent,
                        URI uri,
                        Object[] args)
Handle notification of a request for the establishment of a plugin.

Parameters:
parent - the parent classloader
uri - the requested plugin uri
args - the supplied constructor arguments

establishedPluginClass

void establishedPluginClass(Class pluginClass)
Handle notification of the establishment of a plugin class.

Parameters:
pluginClass - the plugin class

exceptionOccurred

void exceptionOccurred(String methodname,
                       Exception e)
Handle notification of an exception related to plugin establishment.

Parameters:
methodname - the method raising the exception
e - the causal exception

pluginConstructorFound

void pluginConstructorFound(Constructor constructor,
                            Object[] args)
Handle notification of the discovery of a plugin constructor.

Parameters:
constructor - the constructor
args - the constructor args

pluginInstantiated

void pluginInstantiated(Object pluginInstance)
Handle notification of the instantiation of a plugin.

Parameters:
pluginInstance - the plugin instance

classloaderConstructed

void classloaderConstructed(String type,
                            ClassLoader classloader)
Handle notification of the creation of a new classloader.

Parameters:
type - the type of classloader (api, spi or impl)
classloader - the new classloader

systemExpanded

void systemExpanded(URI plugin,
                    URL[] urls)
Handle notification of system classloader expansion.

Parameters:
plugin - the uri of the plugin requesting system classloader expansion
urls - the array of urls added to the system classloader