@Bean(name="commands", parent=MonitorComponent.class, active=true) public class AdHocCommandMonitorModule extends AdHocCommandModule implements Initializable
AdHocCommandModule.ScriptCommandProcessorCOMMAND_PATH, commandsManager, CRIT, ID, scriptProcessor, XMLNSeventBus, log, writerEMPTY_FEATURES| Constructor and Description |
|---|
AdHocCommandMonitorModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Method will be called, when bean will be created, configured and ready to use.
|
void |
process(Packet packet)
Process incoming stanza.
|
addCommandListItemsElements, getCommandListItems, getCommandsManager, getFeatures, getModuleCriteria, getScriptItems, getScriptProcessor, processScriptAdHoc, register, setCommandsManager, setScriptProcessorfireEvent, getEventBus, getWriter, setEventBus, setWriter, write, writepublic void initialize()
Initializableinitialize in interface Initializableinitialize in class AdHocCommandModulepublic void process(Packet packet) throws ComponentException
Moduleprocess in interface Moduleprocess in class AdHocCommandModulepacket - received stanza.ComponentException - if stanza can't be processed correctly. ComponentException is converted to error
stanza and returned to stanza sender.Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.