|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.moduleloader.ModuleFactoryImpl
public class ModuleFactoryImpl
Constructor Summary | |
---|---|
ModuleFactoryImpl(Logger logger)
|
Method Summary | |
---|---|
void |
addModuleListener(ModuleListener l)
Adds a listener to the IModuleFactory to listen for module added and removed events. |
IModule |
createModule(java.lang.String id,
IModuleDefinition md)
|
protected void |
fireModuleAdded(IModule module)
Fires an event indicating that the specified module was added to the IModuleFactory. |
protected void |
fireModuleRefreshed(IModule module)
This is an experimental method that is likely to change or go away - so don't use it for now. |
protected void |
fireModuleRemoved(IModule module)
Fires an event indicating that the specified module was removed from the IModuleFactory. |
IModule |
getModule(java.lang.String id)
|
IModule[] |
getModules()
|
void |
refreshModule(IModule module)
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)
Removes a listener from the IModuleFactory. |
void |
setContentLoader(IModule module,
IContentLoader contentLoader)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModuleFactoryImpl(Logger logger)
Method Detail |
---|
public IModule[] getModules()
getModules
in interface IModuleFactory
public IModule getModule(java.lang.String id)
getModule
in interface IModuleFactory
public IModule createModule(java.lang.String id, IModuleDefinition md)
createModule
in interface IModuleFactory
public void refreshModule(IModule module)
refreshModule
in interface IModuleFactory
public void removeModule(IModule module)
removeModule
in interface IModuleFactory
public void setContentLoader(IModule module, IContentLoader contentLoader)
setContentLoader
in interface IModuleFactory
public void addModuleListener(ModuleListener l)
Adds a listener to the IModuleFactory to listen for module added and removed events.
addModuleListener
in interface IModuleFactory
l
- the ModuleListener to add.public void removeModuleListener(ModuleListener l)
Removes a listener from the IModuleFactory.
removeModuleListener
in interface IModuleFactory
l
- the ModuleListener to remove.protected void fireModuleAdded(IModule module)
Fires an event indicating that the specified module was added to the IModuleFactory.
module
- the module that was added.protected void fireModuleRemoved(IModule module)
Fires an event indicating that the specified module was removed from the IModuleFactory.
module
- the module that was removed.protected void fireModuleRefreshed(IModule module)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |