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, XMLNSFields inherited from class tigase.component.modules.AbstractModule
eventBus, log, writerFields inherited from interface tigase.component.modules.Module
EMPTY_FEATURES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod will be called, when bean will be created, configured and ready to use.voidProcess incoming stanza.Methods inherited from class tigase.component.modules.impl.AdHocCommandModule
addCommandListItemsElements, getCommandListItems, getCommandsManager, getFeatures, getModuleCriteria, getScriptItems, getScriptProcessor, processScriptAdHoc, register, setCommandsManager, setScriptProcessorMethods 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:InitializableMethod will be called, when bean will be created, configured and ready to use.- Specified by:
initializein interfaceInitializable- Overrides:
initializein classAdHocCommandModule
-
process
Description copied from interface:ModuleProcess incoming stanza.- Specified by:
processin interfaceModule- Overrides:
processin classAdHocCommandModule- Parameters:
packet- receivedstanza.- Throws:
ComponentException- if stanza can't be processed correctly. ComponentException is converted to error stanza and returned to stanza sender.
-