org.ungoverned.moduleloader
Interface ModuleListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
ImportSearchPolicy, OSGiSelectionPolicy, SimpleSelectionPolicy

public interface ModuleListener
extends java.util.EventListener

This interface is an event listener for ModuleEvent events. To receive events, an implementation of this listener must be added to the ModuleManager instance.

See Also:
ModuleManager, ModuleEvent

Method Summary
 void moduleAdded(ModuleEvent event)
           This method is called after a module is added to the ModuleManager.
 void moduleRemoved(ModuleEvent event)
           This method is called after a module is remove from the ModuleManager.
 void moduleReset(ModuleEvent event)
           This method is called after a module has been reset by the ModuleManager.
 

Method Detail

moduleAdded

public void moduleAdded(ModuleEvent event)

This method is called after a module is added to the ModuleManager.

Parameters:
event - the event object containing the event details.

moduleReset

public void moduleReset(ModuleEvent event)

This method is called after a module has been reset by the ModuleManager.

Parameters:
event - the event object containing the event details.

moduleRemoved

public void moduleRemoved(ModuleEvent event)

This method is called after a module is remove from the ModuleManager.

Parameters:
event - the event object containing the event details.