Class HelloWorld
- java.lang.Object
-
- org.symphonyoss.s2.common.fluent.Fluent<T>
-
- org.symphonyoss.s2.fugue.AbstractComponentContainer<org.symphonyoss.s2.fugue.IFugueServer>
-
- org.symphonyoss.s2.fugue.FugueServer
-
- org.symphonyoss.s2.fugue.example.hello.HelloWorld
-
- All Implemented Interfaces:
org.symphonyoss.s2.common.fluent.IFluent<org.symphonyoss.s2.fugue.IFugueServer>,org.symphonyoss.s2.fugue.IFugeComponentContainer<org.symphonyoss.s2.fugue.IFugueServer>,org.symphonyoss.s2.fugue.IFugueServer
public class HelloWorld extends org.symphonyoss.s2.fugue.FugueServerA simple hello world server which exposes a single servlet.- Author:
- Bruce Skingle
-
-
Constructor Summary
Constructors Constructor Description HelloWorld()Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassertConfigurable()org.symphonyoss.s2.fugue.FugueLifecycleStategetLifecycleState()static voidmain(String[] args)Launcher.protected voidsetLifeCycleState(org.symphonyoss.s2.fugue.FugueLifecycleState arg0)org.symphonyoss.s2.fugue.FugueServerstart()-
Methods inherited from class org.symphonyoss.s2.fugue.FugueServer
fail, getApplicationName, getHttpPort, join, newExecutor, newExecutor, newScheduledExecutor, newScheduledExecutor, openBrowser, withCommand, withCurrentThread, withDefaultPanel, withLocalWebLogin, withPanel, withThread
-
Methods inherited from class org.symphonyoss.s2.fugue.AbstractComponentContainer
getCommands, getComponents, getLifecycleComponents, getResourceProviders, getServletProviders, getServlets, isRunning, mainLoop, quiesce, register, setRunning, stop, withComponents
-
-
-
-
Method Detail
-
start
public org.symphonyoss.s2.fugue.FugueServer start()
- Specified by:
startin interfaceorg.symphonyoss.s2.fugue.IFugeComponentContainer<org.symphonyoss.s2.fugue.IFugueServer>- Overrides:
startin classorg.symphonyoss.s2.fugue.FugueServer
-
main
public static void main(String[] args) throws InterruptedException
Launcher.- Parameters:
args- Command line arguments, ignored.- Throws:
InterruptedException- If the main thread is interrupted.
-
assertConfigurable
protected void assertConfigurable()
-
setLifeCycleState
protected void setLifeCycleState(org.symphonyoss.s2.fugue.FugueLifecycleState arg0)
-
getLifecycleState
public org.symphonyoss.s2.fugue.FugueLifecycleState getLifecycleState()
-
-