Package tigase.http.modules.setup
Class SetupModeRedirectModule
- java.lang.Object
-
- tigase.http.AbstractHttpModule
-
- tigase.http.modules.AbstractBareModule
-
- tigase.http.modules.setup.SetupModeRedirectModule
-
- 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="setupRedirect", parent=HttpMessageReceiver.class, active=true) @ConfigType(SetupMode) public class SetupModeRedirectModule extends AbstractBareModuleCreated by andrzej on 06.04.2017.
-
-
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 SetupModeRedirectModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description tigase.db.AuthRepositorygetAuthRepository()java.lang.StringgetDescription()tigase.db.UserRepositorygetUserRepository()booleanisRequestAllowed(java.lang.String key, java.lang.String domain, java.lang.String path)voidsetName(java.lang.String name)voidstart()voidstop()-
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, 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
-
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
- Overrides:
setNamein classAbstractBareModule
-
getDescription
public java.lang.String getDescription()
-
isRequestAllowed
public boolean isRequestAllowed(java.lang.String key, java.lang.String domain, java.lang.String path)
-
getUserRepository
public tigase.db.UserRepository getUserRepository()
-
getAuthRepository
public tigase.db.AuthRepository getAuthRepository()
-
start
public void start()
- Specified by:
startin interfaceModule- Overrides:
startin classAbstractBareModule
-
stop
public void stop()
- Specified by:
stopin interfaceModule- Overrides:
stopin classAbstractBareModule
-
-