|
||||||||||
| 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
tigase.conf.ConfiguratorOld
public class ConfiguratorOld
Class ConfiguratorOld Created: Tue Nov 22 07:07:11 2005
| Field Summary |
|---|
| 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 | |
|---|---|
ConfiguratorOld()
Constructs ... |
|
| Method Summary | |
|---|---|
void |
componentAdded(Configurable component)
Method description |
Map<String,Object> |
getAllProperties(String key)
Method description |
String[] |
getComponents()
Method description |
Map<String,Object> |
getDefaults(Map<String,Object> params)
Returns defualt configuration settings in case if there is no config file. |
Map<String,Object> |
getDefConfigParams()
Method description |
List<tigase.xml.Element> |
getDiscoFeatures(tigase.xmpp.JID from)
Method description |
tigase.xml.Element |
getDiscoInfo(String node,
tigase.xmpp.JID jid,
tigase.xmpp.JID from)
Method description |
List<tigase.xml.Element> |
getDiscoItems(String node,
tigase.xmpp.JID jid,
tigase.xmpp.JID from)
Method description |
static Object |
getMXBean(String objName)
Method description |
void |
init(String[] args)
Method description |
void |
initializationCompleted()
Method description |
static void |
main(String[] args)
Describe main method here. |
void |
parseArgs(String[] args)
Method description |
void |
processPacket(Packet packet,
Queue<Packet> results)
Method description |
static void |
putMXBean(String objName,
Object bean)
Method description |
void |
setName(String name)
Method description |
void |
setProperties(Map<String,Object> props)
Sets all configuration properties for object. |
Object |
setPropertyValue(String key,
String val,
Packet result_pack,
boolean admin)
Method description |
void |
setup(String name)
Method description |
Object |
setValue(String node_key,
String value,
boolean add,
boolean feedback,
Map<String,Object> orig)
Method description |
| Methods inherited from class tigase.conf.ConfiguratorAbstract |
|---|
componentRemoved, getMessageRouterClassName, getProperties, initBindings, isCorrectType, itemAdded, itemRemoved, itemUpdated, loadLogManagerConfig, putProperties, setup |
| 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 |
| Constructor Detail |
|---|
public ConfiguratorOld()
| Method Detail |
|---|
public void componentAdded(Configurable component)
componentAdded in class ConfiguratorAbstractcomponent -
public void init(String[] args)
throws ConfigurationException
init in class ConfiguratorAbstractargs -
ConfigurationExceptionpublic void initializationCompleted()
initializationCompleted in interface ServerComponentinitializationCompleted in class ConfiguratorAbstract
public static void main(String[] args)
throws Exception
main method here.
args - a String[] value
Exceptionpublic void parseArgs(String[] args)
parseArgs in class ConfiguratorAbstractargs -
public void processPacket(Packet packet,
Queue<Packet> results)
processPacket in interface ServerComponentprocessPacket in class BasicComponentpacket - results -
public static void putMXBean(String objName,
Object bean)
objName - bean - public void setup(String name)
name -
public Map<String,Object> getAllProperties(String key)
throws ConfigurationException
key -
ConfigurationExceptionpublic String[] getComponents()
public Map<String,Object> getDefaults(Map<String,Object> params)
getDefaults in interface ConfigurablegetDefaults in class ConfiguratorAbstractparams -
public Map<String,Object> getDefConfigParams()
getDefConfigParams in class ConfiguratorAbstractpublic List<tigase.xml.Element> getDiscoFeatures(tigase.xmpp.JID from)
getDiscoFeatures in interface XMPPServicegetDiscoFeatures in class BasicComponentfrom -
public tigase.xml.Element getDiscoInfo(String node,
tigase.xmpp.JID jid,
tigase.xmpp.JID from)
getDiscoInfo in interface XMPPServicegetDiscoInfo in class BasicComponentnode - jid - from -
public List<tigase.xml.Element> getDiscoItems(String node,
tigase.xmpp.JID jid,
tigase.xmpp.JID from)
getDiscoItems in interface XMPPServicegetDiscoItems in class BasicComponentnode - jid - from -
public static Object getMXBean(String objName)
objName -
public void setName(String name)
setName in interface ServerComponentsetName in class BasicComponentname - public void setProperties(Map<String,Object> props)
setProperties in interface ConfigurablesetProperties in class ConfiguratorAbstractprops -
public Object setPropertyValue(String key,
String val,
Packet result_pack,
boolean admin)
key - val - result_pack - admin -
public Object setValue(String node_key,
String value,
boolean add,
boolean feedback,
Map<String,Object> orig)
throws Exception
node_key - value - add - feedback - orig -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||