Package tigase.http.java
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJavaStandaloneHttpServer.ExecutorWithTimeout.Timer
-
Constructor Summary
Constructors Constructor Description ExecutorWithTimeout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeanConfigurationChanged(Collection<String> changedFields)voidbeforeUnregister()voidexecute(Runnable command)intgetAcceptTimeout()intgetTimeout()voidinitialize()
-
-
-
Method Detail
-
beforeUnregister
public void beforeUnregister()
- Specified by:
beforeUnregisterin interfacetigase.kernel.beans.UnregisterAware
-
initialize
public void initialize()
- Specified by:
initializein interfacetigase.kernel.beans.Initializable
-
beanConfigurationChanged
public void beanConfigurationChanged(Collection<String> changedFields)
- Specified by:
beanConfigurationChangedin interfacetigase.kernel.beans.config.ConfigurationChangedAware
-
getAcceptTimeout
public int getAcceptTimeout()
-
getTimeout
public int getTimeout()
-
-