Package tigase.http.modules.setup
Class SetupModule
- java.lang.Object
-
- tigase.http.AbstractHttpModule
-
- tigase.http.modules.AbstractBareModule
-
- tigase.http.modules.setup.SetupModule
-
- All Implemented Interfaces:
Module
,tigase.kernel.beans.config.ConfigurationChangedAware
,tigase.kernel.beans.Initializable
,tigase.kernel.beans.RegistrarBean
,tigase.kernel.beans.UnregisterAware
,tigase.stats.StatisticHolder
@Bean(name="setup", parent=HttpMessageReceiver.class, active=true) public class SetupModule extends AbstractBareModule implements Module
- Author:
- andrzej
-
-
Field Summary
-
Fields inherited from class tigase.http.modules.AbstractBareModule
commandManager, name
-
Fields inherited from class tigase.http.AbstractHttpModule
contextPath, httpServer, uuid, vhosts
-
Fields inherited from interface tigase.http.modules.Module
HTTP_CONTEXT_PATH_KEY, HTTP_SERVER_KEY, VHOSTS_KEY
-
-
Constructor Summary
Constructors Constructor Description SetupModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description tigase.db.AuthRepository
getAuthRepository()
String
getDescription()
protected Service
getService()
tigase.db.UserRepository
getUserRepository()
boolean
isRequestAllowed(String key, String domain, String path)
void
start()
void
stop()
-
Methods inherited from class tigase.http.modules.AbstractBareModule
addOutPacket, addOutPacket, everyHour, everyMinute, everySecond, executedIn, getComponentName, getDiscoInfo, getDiscoItems, getFeatures, getJid, getModuleByUUID, getName, getStatistics, init, initBindings, initialize, isAdmin, processPacket, setName, setStatisticsPrefix, statisticExecutedIn
-
Methods inherited from class tigase.http.AbstractHttpModule
beanConfigurationChanged, beforeUnregister, getKernel, register, unregister
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface tigase.kernel.beans.config.ConfigurationChangedAware
beanConfigurationChanged
-
Methods inherited from interface tigase.http.modules.Module
addOutPacket, addOutPacket, getDiscoInfo, getDiscoItems, getFeatures, getJid, getName, init, initBindings, isAdmin, processPacket
-
-
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceModule
-
isRequestAllowed
public boolean isRequestAllowed(String key, String domain, String path)
- Specified by:
isRequestAllowed
in interfaceModule
-
start
public void start()
- Specified by:
start
in interfaceModule
- Overrides:
start
in classAbstractBareModule
-
stop
public void stop()
- Specified by:
stop
in interfaceModule
- Overrides:
stop
in classAbstractBareModule
-
getUserRepository
public tigase.db.UserRepository getUserRepository()
- Specified by:
getUserRepository
in interfaceModule
-
getAuthRepository
public tigase.db.AuthRepository getAuthRepository()
- Specified by:
getAuthRepository
in interfaceModule
-
getService
protected Service getService()
-
-