Class PubSubExmple
- 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.pubsub.PubSubExmple
-
- All Implemented Interfaces:
org.symphonyoss.s2.common.fluent.IFluent<org.symphonyoss.s2.fugue.IFugueServer>,IPubSubExmple,org.symphonyoss.s2.fugue.IFugeComponentContainer<org.symphonyoss.s2.fugue.IFugueServer>,org.symphonyoss.s2.fugue.IFugueServer
public class PubSubExmple extends org.symphonyoss.s2.fugue.FugueServer implements IPubSubExmple
-
-
Field Summary
Fields Modifier and Type Field Description static StringSUBSCRIPTION_NAMEstatic StringTOPIC_NAME
-
Constructor Summary
Constructors Constructor Description PubSubExmple()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendStatus(String message)protected voidassertConfigurable()org.symphonyoss.s2.fugue.FugueLifecycleStategetLifecycleState()StringgetStatus()static voidmain(String[] args)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
-
-
-
-
Field Detail
-
TOPIC_NAME
public static final String TOPIC_NAME
- See Also:
- Constant Field Values
-
SUBSCRIPTION_NAME
public static final String SUBSCRIPTION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
appendStatus
public void appendStatus(String message)
- Specified by:
appendStatusin interfaceIPubSubExmple
-
getStatus
public String getStatus()
- Specified by:
getStatusin interfaceIPubSubExmple
-
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
- Throws:
InterruptedException
-
assertConfigurable
protected void assertConfigurable()
-
setLifeCycleState
protected void setLifeCycleState(org.symphonyoss.s2.fugue.FugueLifecycleState arg0)
-
getLifecycleState
public org.symphonyoss.s2.fugue.FugueLifecycleState getLifecycleState()
-
-