| |
|
| java.lang.Object org.xmpp.component.ComponentManagerFactory
ComponentManagerFactory | public class ComponentManagerFactory (Code) | | Factory to get a ComponentManager implementation. The ComponentManager implementation
used will determined in the following way:
- An external process can set the ComponentManager using
ComponentManagerFactory.setComponentManager(ComponentManager) .
- If the component manager is null, the factory will check for
the Java system property "whack.componentManagerClass". The value of the
property should be the fully qualified class name of a ComponentManager
implementation (e.g. com.foo.MyComponentManager). The class must have a default
constructor.
author: Matt Tucker |
getComponentManager | public static synchronized ComponentManager getComponentManager()(Code) | | Returns a ComponentManager instance.
a ComponentManager instance. |
setComponentManager | public static void setComponentManager(ComponentManager manager)(Code) | | Sets the ComponentManager instance that will be used.
Parameters: manager - the ComponentManager instance. |
|
|
|