org.apache.felix.moduleloader
Interface IModuleFactory

All Known Implementing Classes:
ModuleFactoryImpl

public interface IModuleFactory


Method Summary
 void addModuleListener(ModuleListener l)
           
 IModule createModule(java.lang.String id, IModuleDefinition md)
           
 IModule getModule(java.lang.String id)
           
 IModule[] getModules()
           
 void refreshModule(IModule currentModule)
          This is an experimental method that is likely to change or go away - so don't use it for now.
 void removeModule(IModule module)
           
 void removeModuleListener(ModuleListener l)
           
 void setContentLoader(IModule module, IContentLoader contentLoader)
           
 

Method Detail

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.