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 Object implements tigase.kernel.beans.UnregisterAware, tigase.kernel.beans.Initializable, tigase.kernel.beans.RegistrarBean, tigase.kernel.beans.config.ConfigurationChangedAware
Created by andrzej on 08.08.2016.
  • Field Details

    • uuid

      protected final String uuid
    • contextPath

      @ConfigField(desc="Context path", alias="context-path") protected String contextPath
    • httpServer

      @Inject protected HttpServerIfc httpServer
    • vhosts

      @ConfigField(desc="List of vhosts", alias="vhosts") protected String[] vhosts
  • Constructor Details

    • AbstractHttpModule

      public AbstractHttpModule()
  • Method Details

    • getKernel

      public static final tigase.kernel.core.Kernel getKernel(String id)
    • start

      public abstract void start()
    • stop

      public abstract void stop()
    • register

      public void register(tigase.kernel.core.Kernel kernel)
      Specified by:
      register in interface tigase.kernel.beans.RegistrarBean
    • unregister

      public void unregister(tigase.kernel.core.Kernel kernel)
      Specified by:
      unregister in interface tigase.kernel.beans.RegistrarBean
    • initialize

      public void initialize()
      Specified by:
      initialize in interface tigase.kernel.beans.Initializable
    • beforeUnregister

      public void beforeUnregister()
      Specified by:
      beforeUnregister in interface tigase.kernel.beans.UnregisterAware
    • beanConfigurationChanged

      public void beanConfigurationChanged(Collection<String> changedFields)
      Specified by:
      beanConfigurationChanged in interface tigase.kernel.beans.config.ConfigurationChangedAware