org.apache.felix.moduleloader
Interface ModuleListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
R4SearchPolicyCore

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 IModuleFactory instance.

See Also:
IModuleFactory, ModuleEvent

Method Summary
 void moduleAdded(ModuleEvent event)
           This method is called after a module is added to the IModuleFactory.
 void moduleRefreshed(ModuleEvent event)
          This is an experimental method that is likely to change or go away - so don't use it for now.
 void moduleRemoved(ModuleEvent event)
           This method is called after a module is remove from the IModuleFactory.
 

Method Detail

moduleAdded

void moduleAdded(ModuleEvent event)

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

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

moduleRemoved

void moduleRemoved(ModuleEvent event)

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

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

moduleRefreshed

void moduleRefreshed(ModuleEvent event)
This is an experimental method that is likely to change or go away - so don't use it for now. Note to self, we need to think about what the implications of this are and whether we are fine with them.