Class JavaStandaloneHttpServer.ExecutorWithTimeout

java.lang.Object
tigase.http.java.JavaStandaloneHttpServer.ExecutorWithTimeout
All Implemented Interfaces:
Executor, tigase.kernel.beans.config.ConfigurationChangedAware, tigase.kernel.beans.Initializable, tigase.kernel.beans.UnregisterAware
Enclosing class:
JavaStandaloneHttpServer

@Bean(name="executor", parent=JavaStandaloneHttpServer.class, active=true, exportable=true) public static class JavaStandaloneHttpServer.ExecutorWithTimeout extends Object implements Executor, tigase.kernel.beans.Initializable, tigase.kernel.beans.UnregisterAware, tigase.kernel.beans.config.ConfigurationChangedAware
  • Constructor Details

    • ExecutorWithTimeout

      public ExecutorWithTimeout()
  • Method Details

    • execute

      public void execute(Runnable command)
      Specified by:
      execute in interface Executor
    • beforeUnregister

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

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

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

      public int getAcceptTimeout()
    • getTimeout

      public int getTimeout()