Package tigase.http.modules
Class AbstractModule
- java.lang.Object
-
- tigase.http.AbstractHttpModule
-
- tigase.http.modules.AbstractBareModule
-
- tigase.http.modules.AbstractModule
-
- All Implemented Interfaces:
Module
,tigase.kernel.beans.config.ConfigurationChangedAware
,tigase.kernel.beans.Initializable
,tigase.kernel.beans.RegistrarBean
,tigase.kernel.beans.UnregisterAware
,tigase.stats.StatisticHolder
- Direct Known Subclasses:
AdminModule
,DnsWebServiceModule
,IndexModule
,RestModule
,ServerInfoModule
,WebModule
,WellKnownModule
public abstract class AbstractModule extends AbstractBareModule implements Module, tigase.kernel.beans.Initializable, tigase.kernel.beans.config.ConfigurationChangedAware, tigase.kernel.beans.UnregisterAware
-
-
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 AbstractModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description tigase.db.AuthRepository
getAuthRepository()
static <T extends Module>
TgetModuleByUUID(java.lang.String uuid)
tigase.db.UserRepository
getUserRepository()
boolean
isRequestAllowed(java.lang.String key, java.lang.String domain, java.lang.String path)
-
Methods inherited from class tigase.http.modules.AbstractBareModule
addOutPacket, addOutPacket, everyHour, everyMinute, everySecond, executedIn, getComponentName, getDiscoInfo, getDiscoItems, getFeatures, getJid, getName, getStatistics, init, initBindings, initialize, isAdmin, processPacket, setName, setStatisticsPrefix, start, statisticExecutedIn, stop
-
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, getDescription, getDiscoInfo, getDiscoItems, getFeatures, getJid, getName, init, initBindings, isAdmin, processPacket, start, stop
-
-
-
-
Method Detail
-
getModuleByUUID
public static <T extends Module> T getModuleByUUID(java.lang.String uuid)
-
isRequestAllowed
public boolean isRequestAllowed(java.lang.String key, java.lang.String domain, java.lang.String path)
- Specified by:
isRequestAllowed
in interfaceModule
-
getUserRepository
public tigase.db.UserRepository getUserRepository()
- Specified by:
getUserRepository
in interfaceModule
-
getAuthRepository
public tigase.db.AuthRepository getAuthRepository()
- Specified by:
getAuthRepository
in interfaceModule
-
-