public abstract class AbstractHttpModule extends Object implements tigase.kernel.beans.UnregisterAware, tigase.kernel.beans.Initializable, tigase.kernel.beans.RegistrarBean, tigase.kernel.beans.config.ConfigurationChangedAware
| Modifier and Type | Field and Description |
|---|---|
protected String |
contextPath |
protected HttpServerIfc |
httpServer |
protected String |
uuid |
protected String[] |
vhosts |
| Constructor and Description |
|---|
AbstractHttpModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
beanConfigurationChanged(Collection<String> changedFields) |
void |
beforeUnregister() |
static tigase.kernel.core.Kernel |
getKernel(String id) |
void |
initialize() |
void |
register(tigase.kernel.core.Kernel kernel) |
abstract void |
start() |
abstract void |
stop() |
void |
unregister(tigase.kernel.core.Kernel kernel) |
protected final String uuid
@ConfigField(desc="Context path",
alias="context-path")
protected String contextPath
@Inject protected HttpServerIfc httpServer
@ConfigField(desc="List of vhosts",
alias="vhosts")
protected String[] vhosts
public static final tigase.kernel.core.Kernel getKernel(String id)
public abstract void start()
public abstract void stop()
public void register(tigase.kernel.core.Kernel kernel)
register in interface tigase.kernel.beans.RegistrarBeanpublic void unregister(tigase.kernel.core.Kernel kernel)
unregister in interface tigase.kernel.beans.RegistrarBeanpublic void initialize()
initialize in interface tigase.kernel.beans.Initializablepublic void beforeUnregister()
beforeUnregister in interface tigase.kernel.beans.UnregisterAwarepublic void beanConfigurationChanged(Collection<String> changedFields)
beanConfigurationChanged in interface tigase.kernel.beans.config.ConfigurationChangedAwareCopyright © 2013–2019 Tigase. All rights reserved.