Package com.aspectran.undertow.server
Class DefaultTowServer
java.lang.Object
com.aspectran.utils.lifecycle.AbstractLifeCycle
com.aspectran.undertow.server.AbstractTowServer
com.aspectran.undertow.server.DefaultTowServer
- All Implemented Interfaces:
com.aspectran.core.component.bean.ablility.DisposableBean,com.aspectran.core.component.bean.ablility.InitializableBean,TowServer,com.aspectran.utils.lifecycle.LifeCycle
public class DefaultTowServer
extends AbstractTowServer
implements com.aspectran.core.component.bean.ablility.InitializableBean, com.aspectran.core.component.bean.ablility.DisposableBean
The Undertow Server managed by Aspectran.
- Since:
- 6.3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.aspectran.utils.lifecycle.LifeCycle
com.aspectran.utils.lifecycle.LifeCycle.Listener -
Field Summary
Fields inherited from interface com.aspectran.utils.lifecycle.LifeCycle
FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.aspectran.undertow.server.AbstractTowServer
getBuilder, getDeploymentManager, getDeploymentManagerByPath, getHandler, getServletContainer, getSessionHandler, getSessionHandlerByPath, getShutdownTimeoutSecs, isAutoStart, setAjpListeners, setAutoStart, setBufferSize, setDirectBuffers, setHandler, setHttpListeners, setHttpsListeners, setIoThreads, setServerOption, setServerOptions, setServletContainer, setShutdownTimeoutSecs, setSocketOption, setSocketOptions, setSystemProperty, setWorkerOption, setWorkerOptions, setWorkerThreadsMethods inherited from class com.aspectran.utils.lifecycle.AbstractLifeCycle
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.aspectran.utils.lifecycle.LifeCycle
addLifeCycleListener, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
-
Constructor Details
-
DefaultTowServer
public DefaultTowServer()
-
-
Method Details
-
doStart
- Overrides:
doStartin classcom.aspectran.utils.lifecycle.AbstractLifeCycle- Throws:
Exception
-
doStop
public void doStop()- Overrides:
doStopin classcom.aspectran.utils.lifecycle.AbstractLifeCycle
-
initialize
- Specified by:
initializein interfacecom.aspectran.core.component.bean.ablility.InitializableBean- Throws:
Exception
-
destroy
public void destroy()- Specified by:
destroyin interfacecom.aspectran.core.component.bean.ablility.DisposableBean
-