org.apache.felix.moduleloader
Interface IModuleFactory
- All Known Implementing Classes:
- ModuleFactoryImpl
public interface IModuleFactory
getModules
IModule[] getModules()
getModule
IModule getModule(java.lang.String id)
createModule
IModule createModule(java.lang.String id,
IModuleDefinition md)
removeModule
void removeModule(IModule module)
setContentLoader
void setContentLoader(IModule module,
IContentLoader contentLoader)
addModuleListener
void addModuleListener(ModuleListener l)
removeModuleListener
void removeModuleListener(ModuleListener l)
refreshModule
void refreshModule(IModule currentModule)
- 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.