|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.server.BasicComponent
tigase.server.AbstractComponentRegistrator<Configurable>
tigase.conf.ConfiguratorAbstract
public abstract class ConfiguratorAbstract
Created: Dec 7, 2009 4:15:31 PM
| Field Summary | |
|---|---|
static String |
AUTH_DOMAIN_POOL_CLASS_PROP_KEY
Deprecated. moved to RepositoryFactory |
static String |
AUTH_DOMAIN_POOL_CLASS_PROP_VAL
Deprecated. moved to RepositoryFactory |
static String |
CONFIG_REPO_CLASS_INIT_KEY
Field description |
static String |
CONFIG_REPO_CLASS_PROP_KEY
Field description |
static String |
INIT_PROPERTIES_MAP_BIND
Field description |
static String |
logManagerConfiguration
Field description |
static String |
PROPERTY_FILENAME_PROP_KEY
Field description |
static String |
USER_DOMAIN_POOL_CLASS_PROP_KEY
Deprecated. moved to RepositoryFactory |
static String |
USER_DOMAIN_POOL_CLASS_PROP_VAL
Deprecated. moved to RepositoryFactory |
| Fields inherited from class tigase.server.AbstractComponentRegistrator |
|---|
components |
| Fields inherited from class tigase.server.BasicComponent |
|---|
admins, ALL_PROP_KEY, COMMAND_PROP_NODE, scriptCommands, SCRIPTS_DIR_PROP_DEF, SCRIPTS_DIR_PROP_KEY, vHostManager |
| Fields inherited from interface tigase.disco.XMPPService |
|---|
CMD_FEATURES, DEF_FEATURES, INFO_XMLNS, ITEMS_XMLNS |
| Constructor Summary | |
|---|---|
ConfiguratorAbstract()
|
|
| Method Summary | |
|---|---|
void |
componentAdded(Configurable component)
Method description |
void |
componentRemoved(Configurable component)
Method description |
Map<String,Object> |
getDefaults(Map<String,Object> params)
Returns default configuration settings in case if there is no configuration file. |
Map<String,Object> |
getDefConfigParams()
Method description |
String |
getMessageRouterClassName()
Method description |
static Object |
getMXBean(String objName)
Method description |
Map<String,Object> |
getProperties(String nodeId)
Method description |
void |
init(String[] args)
Method description |
void |
initBindings(Bindings binds)
Method description |
void |
initializationCompleted()
Method description |
boolean |
isCorrectType(ServerComponent component)
Method description |
void |
itemAdded(ConfigItem item)
Method description |
void |
itemRemoved(ConfigItem item)
Method description |
void |
itemUpdated(ConfigItem item)
Method description |
static void |
loadLogManagerConfig(String config)
Method description |
void |
parseArgs(String[] args)
Method description |
static void |
putMXBean(String objName,
Object bean)
Method description |
void |
putProperties(String compId,
Map<String,Object> props)
Method description |
void |
setProperties(Map<String,Object> props)
Sets all configuration properties for object. |
void |
setup(Configurable component)
Method description |
| Methods inherited from class tigase.server.AbstractComponentRegistrator |
|---|
addComponent, deleteComponent, getComponent, newPacketId, release |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface tigase.server.ServerComponent |
|---|
getComponentId, getName, isInitializationComplete, processPacket, setName |
| Field Detail |
|---|
@Deprecated public static final String AUTH_DOMAIN_POOL_CLASS_PROP_KEY
@Deprecated public static final String AUTH_DOMAIN_POOL_CLASS_PROP_VAL
public static final String CONFIG_REPO_CLASS_INIT_KEY
public static final String CONFIG_REPO_CLASS_PROP_KEY
public static final String INIT_PROPERTIES_MAP_BIND
public static String logManagerConfiguration
public static final String PROPERTY_FILENAME_PROP_KEY
@Deprecated public static final String USER_DOMAIN_POOL_CLASS_PROP_KEY
@Deprecated public static final String USER_DOMAIN_POOL_CLASS_PROP_VAL
| Constructor Detail |
|---|
public ConfiguratorAbstract()
| Method Detail |
|---|
public void componentAdded(Configurable component)
componentAdded in class AbstractComponentRegistrator<Configurable>component - public void componentRemoved(Configurable component)
componentRemoved in class AbstractComponentRegistrator<Configurable>component -
public void init(String[] args)
throws ConfigurationException,
TigaseDBException
args -
ConfigurationException
TigaseDBExceptionpublic void initBindings(Bindings binds)
initBindings in class BasicComponentbinds - public void initializationCompleted()
initializationCompleted in interface ServerComponentinitializationCompleted in class BasicComponentpublic void itemAdded(ConfigItem item)
itemAdded in interface RepositoryChangeListenerIfc<ConfigItem>item - public void itemRemoved(ConfigItem item)
itemRemoved in interface RepositoryChangeListenerIfc<ConfigItem>item - public void itemUpdated(ConfigItem item)
itemUpdated in interface RepositoryChangeListenerIfc<ConfigItem>item - public static void loadLogManagerConfig(String config)
config - public void parseArgs(String[] args)
args -
public static void putMXBean(String objName,
Object bean)
objName - bean -
public void putProperties(String compId,
Map<String,Object> props)
throws ConfigurationException
compId - props -
ConfigurationExceptionpublic void setup(Configurable component)
component - public Map<String,Object> getDefaults(Map<String,Object> params)
getDefaults in interface ConfigurablegetDefaults in class BasicComponentparams -
public Map<String,Object> getDefConfigParams()
public String getMessageRouterClassName()
public static Object getMXBean(String objName)
objName -
public Map<String,Object> getProperties(String nodeId)
throws ConfigurationException
nodeId -
ConfigurationExceptionpublic boolean isCorrectType(ServerComponent component)
isCorrectType in class AbstractComponentRegistrator<Configurable>component -
public void setProperties(Map<String,Object> props)
setProperties in interface ConfigurablesetProperties in class BasicComponentprops -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||