|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.cpr.Universe
public class Universe
Universe contains static reference to Atmosphere's Factories.
PLEASE DO NOT USE THIS CLASS IF YOUR APPLICATION CONTAINS WEBFRAGMENTS OR MORE THAN ONCE ATMOSPHERE SERVLET DEFINED AS THIS CLASS IS USING STATIC INSTANCE. This is ugly, only here to save your buts, Atmosphere users!
| Constructor Summary | |
|---|---|
Universe()
|
|
| Method Summary | |
|---|---|
static BroadcasterFactory |
broadcasterFactory()
Return the BroadcasterFactory |
static void |
broadcasterFactory(BroadcasterFactory a)
Set the must be unique BroadcasterFactory |
static AtmosphereFramework |
framework()
Return the AtmosphereFramework |
static void |
framework(AtmosphereFramework a)
Set the must be unique AtmosphereFramework |
static DefaultMetaBroadcaster |
metaBroadcaster()
Return the DefaultMetaBroadcaster |
static void |
metaBroadcaster(DefaultMetaBroadcaster a)
Set the must be unique DefaultMetaBroadcaster |
static AtmosphereResourceFactory |
resourceFactory()
Return the AtmosphereResourceFactory |
static void |
resourceFactory(AtmosphereResourceFactory a)
Set the must be unique AtmosphereResourceFactory |
static AtmosphereResourceSessionFactory |
sessionFactory()
Return the AtmosphereResourceSessionFactory |
static void |
sessionResourceFactory(AtmosphereResourceSessionFactory a)
Set the must be unique AtmosphereResourceSessionFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Universe()
| Method Detail |
|---|
public static void metaBroadcaster(DefaultMetaBroadcaster a)
DefaultMetaBroadcaster
a - DefaultMetaBroadcasterpublic static void broadcasterFactory(BroadcasterFactory a)
BroadcasterFactory
a - BroadcasterFactorypublic static void framework(AtmosphereFramework a)
AtmosphereFramework
a - AtmosphereFrameworkpublic static void resourceFactory(AtmosphereResourceFactory a)
AtmosphereResourceFactory
a - AtmosphereResourceFactorypublic static void sessionResourceFactory(AtmosphereResourceSessionFactory a)
AtmosphereResourceSessionFactory
a - AtmosphereResourceSessionFactorypublic static BroadcasterFactory broadcasterFactory()
BroadcasterFactory
BroadcasterFactorypublic static AtmosphereFramework framework()
AtmosphereFramework
AtmosphereFrameworkpublic static AtmosphereResourceFactory resourceFactory()
AtmosphereResourceFactory
AtmosphereResourceFactorypublic static AtmosphereResourceSessionFactory sessionFactory()
AtmosphereResourceSessionFactory
AtmosphereResourceSessionFactorypublic static DefaultMetaBroadcaster metaBroadcaster()
DefaultMetaBroadcaster
DefaultMetaBroadcaster
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||