Package tigase.monitor.modules
Class AdHocCommandMonitorModule
java.lang.Object
tigase.component.modules.AbstractModule
tigase.component.modules.impl.AdHocCommandModule
tigase.monitor.modules.AdHocCommandMonitorModule
- All Implemented Interfaces:
Module
,Initializable
@Bean(name="commands",
parent=MonitorComponent.class,
active=true)
public class AdHocCommandMonitorModule
extends AdHocCommandModule
implements Initializable
-
Nested Class Summary
Nested classes/interfaces inherited from class tigase.component.modules.impl.AdHocCommandModule
AdHocCommandModule.ScriptCommandProcessor
-
Field Summary
Fields inherited from class tigase.component.modules.impl.AdHocCommandModule
COMMAND_PATH, commandsManager, CRIT, ID, scriptProcessor, XMLNS
Fields inherited from class tigase.component.modules.AbstractModule
eventBus, log, writer
Fields inherited from interface tigase.component.modules.Module
EMPTY_FEATURES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Method will be called, when bean will be created, configured and ready to use.void
Process incoming stanza.Methods inherited from class tigase.component.modules.impl.AdHocCommandModule
addCommandListItemsElements, getCommandListItems, getCommandsManager, getFeatures, getModuleCriteria, getScriptItems, getScriptProcessor, processScriptAdHoc, register, setCommandsManager, setScriptProcessor
Methods inherited from class tigase.component.modules.AbstractModule
fireEvent, getEventBus, getWriter, setEventBus, setWriter, write, write
-
Constructor Details
-
AdHocCommandMonitorModule
public AdHocCommandMonitorModule()
-
-
Method Details
-
initialize
public void initialize()Description copied from interface:Initializable
Method will be called, when bean will be created, configured and ready to use.- Specified by:
initialize
in interfaceInitializable
- Overrides:
initialize
in classAdHocCommandModule
-
process
Description copied from interface:Module
Process incoming stanza.- Specified by:
process
in interfaceModule
- Overrides:
process
in classAdHocCommandModule
- Parameters:
packet
- receivedstanza
.- Throws:
ComponentException
- if stanza can't be processed correctly. ComponentException is converted to error stanza and returned to stanza sender.
-