tigase.osgi
Class ModulesManagerImpl
java.lang.Object
tigase.osgi.ModulesManagerImpl
- All Implemented Interfaces:
- ModulesManager
public class ModulesManagerImpl
- extends Object
- implements ModulesManager
- Author:
- andrzej
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ModulesManagerImpl getInstance()
registerPluginClass
public void registerPluginClass(Class<? extends XMPPImplIfc> pluginCls)
- Specified by:
registerPluginClass in interface ModulesManager
unregisterPluginClass
public void unregisterPluginClass(Class<? extends XMPPImplIfc> pluginClass)
- Specified by:
unregisterPluginClass in interface ModulesManager
registerServerComponentClass
public void registerServerComponentClass(Class<? extends Configurable> compCls)
- Specified by:
registerServerComponentClass in interface ModulesManager
unregisterServerComponentClass
public void unregisterServerComponentClass(Class<? extends Configurable> compCls)
- Specified by:
unregisterServerComponentClass in interface ModulesManager
update
public void update()
- Specified by:
update in interface ModulesManager
getPlugin
public XMPPImplIfc getPlugin(String plug_id)
throws InstantiationException,
IllegalAccessException
- Throws:
InstantiationException
IllegalAccessException
hasPluginForId
public boolean hasPluginForId(String plug_id)
getServerComponentClass
public Class<? extends ServerComponent> getServerComponentClass(String className)
getServerComponent
public ServerComponent getServerComponent(String className)
throws InstantiationException,
IllegalAccessException
- Throws:
InstantiationException
IllegalAccessException
hasClassForServerComponent
public boolean hasClassForServerComponent(String className)
setActive
public void setActive(boolean active)
Copyright © 2013 Tigase. All rights reserved.