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 class
JavaStandaloneHttpServer.ExecutorWithTimeout.Timer
-
Constructor Summary
Constructors Constructor Description ExecutorWithTimeout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beanConfigurationChanged(Collection<String> changedFields)
void
beforeUnregister()
void
execute(Runnable command)
int
getAcceptTimeout()
int
getTimeout()
void
initialize()
-
-
-
Method Detail
-
beforeUnregister
public void beforeUnregister()
- Specified by:
beforeUnregister
in interfacetigase.kernel.beans.UnregisterAware
-
initialize
public void initialize()
- Specified by:
initialize
in interfacetigase.kernel.beans.Initializable
-
beanConfigurationChanged
public void beanConfigurationChanged(Collection<String> changedFields)
- Specified by:
beanConfigurationChanged
in interfacetigase.kernel.beans.config.ConfigurationChangedAware
-
getAcceptTimeout
public int getAcceptTimeout()
-
getTimeout
public int getTimeout()
-
-