@Bean(name="rest",
parent=HttpMessageReceiver.class,
active=true)
@ConfigType(value={DefaultMode,SessionManagerMode,ConnectionManagersMode,ComponentMode})
public class RestModule
extends AbstractModule
commandManager, namecontextPath, httpServer, uuid, vhostsHTTP_CONTEXT_PATH_KEY, HTTP_SERVER_KEY, VHOSTS_KEY| Constructor and Description |
|---|
RestModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
everyHour() |
void |
everyMinute() |
void |
everySecond() |
void |
executedIn(String path,
long executionTime) |
String |
getDescription() |
static File[] |
getGroovyFiles(File scriptsDirFile) |
tigase.kernel.core.Kernel |
getKernel() |
protected List<? extends tigase.http.modules.rest.RestServlet> |
getRestServlets() |
void |
getStatistics(String compName,
tigase.stats.StatisticsList list) |
void |
initialize() |
protected void |
registerRestServlet(tigase.http.modules.rest.RestServlet servlet) |
void |
start() |
void |
statisticExecutedIn(long executionTime) |
void |
stop() |
getAuthRepository, getModuleByUUID, getUserRepository, isRequestAllowed, setApiKeyRepositoryaddOutPacket, addOutPacket, getComponentName, getDiscoInfo, getDiscoItems, getFeatures, getJid, getName, init, initBindings, isAdmin, processPacket, setName, setStatisticsPrefixbeanConfigurationChanged, beforeUnregister, getKernel, register, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddOutPacket, addOutPacket, getDiscoInfo, getDiscoItems, getFeatures, getJid, getName, init, initBindings, isAdmin, processPacketpublic void everyHour()
everyHour in interface tigase.stats.StatisticHoldereveryHour in class AbstractBareModulepublic void everyMinute()
everyMinute in interface tigase.stats.StatisticHoldereveryMinute in class AbstractBareModulepublic void everySecond()
everySecond in interface tigase.stats.StatisticHoldereverySecond in class AbstractBareModulepublic String getDescription()
public void start()
start in interface Modulestart in class AbstractBareModulepublic void stop()
stop in interface Modulestop in class AbstractModulepublic void getStatistics(String compName, tigase.stats.StatisticsList list)
getStatistics in interface tigase.stats.StatisticHoldergetStatistics in class AbstractBareModulepublic void executedIn(String path, long executionTime)
executedIn in class AbstractBareModulepublic void statisticExecutedIn(long executionTime)
statisticExecutedIn in interface tigase.stats.StatisticHolderstatisticExecutedIn in class AbstractBareModuleprotected void registerRestServlet(tigase.http.modules.rest.RestServlet servlet)
protected List<? extends tigase.http.modules.rest.RestServlet> getRestServlets()
public tigase.kernel.core.Kernel getKernel()
public void initialize()
initialize in interface tigase.kernel.beans.Initializableinitialize in class AbstractBareModuleCopyright © 2017 Tigase. All rights reserved.