Package tigase.http
Class AbstractHttpModule
- java.lang.Object
-
- tigase.http.AbstractHttpModule
-
- All Implemented Interfaces:
tigase.kernel.beans.config.ConfigurationChangedAware,tigase.kernel.beans.Initializable,tigase.kernel.beans.RegistrarBean,tigase.kernel.beans.UnregisterAware
- Direct Known Subclasses:
AbstractBareModule,HttpModule
public abstract class AbstractHttpModule extends java.lang.Object implements tigase.kernel.beans.UnregisterAware, tigase.kernel.beans.Initializable, tigase.kernel.beans.RegistrarBean, tigase.kernel.beans.config.ConfigurationChangedAwareCreated by andrzej on 08.08.2016.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcontextPathprotected HttpServerIfchttpServerprotected java.lang.Stringuuidprotected java.lang.String[]vhosts
-
Constructor Summary
Constructors Constructor Description AbstractHttpModule()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidbeanConfigurationChanged(java.util.Collection<java.lang.String> changedFields)voidbeforeUnregister()static tigase.kernel.core.KernelgetKernel(java.lang.String id)voidinitialize()voidregister(tigase.kernel.core.Kernel kernel)abstract voidstart()abstract voidstop()voidunregister(tigase.kernel.core.Kernel kernel)
-
-
-
Field Detail
-
uuid
protected final java.lang.String uuid
-
contextPath
@ConfigField(desc="Context path", alias="context-path") protected java.lang.String contextPath
-
httpServer
@Inject protected HttpServerIfc httpServer
-
vhosts
@ConfigField(desc="List of vhosts", alias="vhosts") protected java.lang.String[] vhosts
-
-
Method Detail
-
getKernel
public static final tigase.kernel.core.Kernel getKernel(java.lang.String id)
-
start
public abstract void start()
-
stop
public abstract void stop()
-
register
public void register(tigase.kernel.core.Kernel kernel)
- Specified by:
registerin interfacetigase.kernel.beans.RegistrarBean
-
unregister
public void unregister(tigase.kernel.core.Kernel kernel)
- Specified by:
unregisterin interfacetigase.kernel.beans.RegistrarBean
-
initialize
public void initialize()
- Specified by:
initializein interfacetigase.kernel.beans.Initializable
-
beforeUnregister
public void beforeUnregister()
- Specified by:
beforeUnregisterin interfacetigase.kernel.beans.UnregisterAware
-
beanConfigurationChanged
public void beanConfigurationChanged(java.util.Collection<java.lang.String> changedFields)
- Specified by:
beanConfigurationChangedin interfacetigase.kernel.beans.config.ConfigurationChangedAware
-
-