Package org.tinystruct.system
Class TomcatServer
java.lang.Object
org.tinystruct.AbstractApplication
org.tinystruct.system.TomcatServer
- All Implemented Interfaces:
Cloneable,Runnable,org.tinystruct.Application,org.tinystruct.system.Bootstrap
public class TomcatServer
extends org.tinystruct.AbstractApplication
implements org.tinystruct.system.Bootstrap
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDefaultHandler is responsible for handling HTTP requests and managing the application's lifecycle. -
Field Summary
Fields inherited from class org.tinystruct.AbstractApplication
commandLines, threadLocalContextFields inherited from interface org.tinystruct.Application
CHARSET, CLSID, DEFAULT_BASE_URL, DEFAULT_LANGUAGE, LANGUAGE, LANGUAGE_CODE, LANGUAGE_TAG, REQUEST_ACTION -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.tinystruct.AbstractApplication
destroy, getCommandLines, getConfiguration, getConfiguration, getContext, getInstance, getLink, getLink, getLocale, getName, getProperty, getProperty, getVariable, help, init, invoke, invoke, isTemplateRequired, run, setAction, setConfiguration, setContext, setLocale, setLocale, setSharedVariable, setSharedVariable, setTemplate, setTemplateName, setTemplateRequired, setText, setText, setText, setVariable, setVariable, setVariable, toString
-
Constructor Details
-
TomcatServer
public TomcatServer()
-
-
Method Details
-
init
public void init()- Specified by:
initin interfaceorg.tinystruct.Application
-
start
public void start() throws org.tinystruct.ApplicationException- Specified by:
startin interfaceorg.tinystruct.system.Bootstrap- Throws:
org.tinystruct.ApplicationException
-
stop
public void stop()- Specified by:
stopin interfaceorg.tinystruct.system.Bootstrap
-
exceptionCaught
- Throws:
org.tinystruct.ApplicationException
-
version
- Specified by:
versionin interfaceorg.tinystruct.Application
-