Package org.atmosphere.cpr
Class Universe
java.lang.Object
org.atmosphere.cpr.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!
- Author:
- Jeanfrancois Arcand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BroadcasterFactoryReturn theBroadcasterFactorystatic voidSet the must be uniqueBroadcasterFactorystatic AtmosphereFrameworkReturn theAtmosphereFrameworkstatic voidSet the must be uniqueAtmosphereFrameworkstatic DefaultMetaBroadcasterReturn theDefaultMetaBroadcasterstatic voidSet the must be uniqueDefaultMetaBroadcasterstatic AtmosphereResourceFactoryReturn theAtmosphereResourceFactorystatic voidSet the must be uniqueAtmosphereResourceFactoryinvalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<' HEAD:modules/cpr/src/main/java/org/atmosphere/cpr/Universe.java Return theAtmosphereResourceSessionFactoryThrow exception if Universe methods are used when they are not reliable:modules/runtime/src/main/java/org/atmosphere/runtime/Universe.javastatic voidinvalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<' HEAD:modules/cpr/src/main/java/org/atmosphere/cpr/Universe.java Set the must be uniqueAtmosphereResourceSessionFactory
-
Constructor Details
-
Universe
public Universe()
-
-
Method Details
-
metaBroadcaster
Set the must be uniqueDefaultMetaBroadcaster- Parameters:
a-DefaultMetaBroadcaster
-
broadcasterFactory
Set the must be uniqueBroadcasterFactory- Parameters:
a-BroadcasterFactoryThrow exception if Universe methods are used when they are not reliable:modules/runtime/src/main/java/org/atmosphere/runtime/Universe.java
-
framework
Set the must be uniqueAtmosphereFramework- Parameters:
a-AtmosphereFrameworkhrow exception if Universe methods are used when they are not reliable:modules/runtime/src/main/java/org/atmosphere/runtime/Universe.java
-
resourceFactory
Set the must be uniqueAtmosphereResourceFactory- Parameters:
a-AtmosphereResourceFactory
-
sessionResourceFactory
invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<' HEAD:modules/cpr/src/main/java/org/atmosphere/cpr/Universe.java Set the must be uniqueAtmosphereResourceSessionFactory- Parameters:
a-AtmosphereResourceSessionFactoryThrow exception if Universe methods are used when they are not reliable:modules/runtime/src/main/java/org/atmosphere/runtime/Universe.java
-
broadcasterFactory
Return theBroadcasterFactory- Returns:
- the
BroadcasterFactory
-
framework
Return theAtmosphereFramework- Returns:
- the
AtmosphereFramework
-
resourceFactory
Return theAtmosphereResourceFactory- Returns:
- the
AtmosphereResourceFactory
-
sessionFactory
invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<'invalid input: '<' HEAD:modules/cpr/src/main/java/org/atmosphere/cpr/Universe.java Return theAtmosphereResourceSessionFactoryThrow exception if Universe methods are used when they are not reliable:modules/runtime/src/main/java/org/atmosphere/runtime/Universe.java -
metaBroadcaster
Return theDefaultMetaBroadcaster- Returns:
- the
DefaultMetaBroadcaster
-