Package org.atmosphere.cpr
Class Universe
java.lang.Object
org.atmosphere.cpr.Universe
Deprecated, for removal: This API element is subject to removal in a future version.
Static reference holder for Atmosphere's core factories.
-
Constructor Summary
ConstructorsConstructorDescriptionUniverse()Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic BroadcasterFactoryDeprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.getBroadcasterFactory()instead.static voidDeprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.getBroadcasterFactory()instead.static AtmosphereFrameworkDeprecated, for removal: This API element is subject to removal in a future version.Inject the framework directly or retrieve via servlet context.static voidDeprecated, for removal: This API element is subject to removal in a future version.Inject the framework directly or retrieve via servlet context.static DefaultMetaBroadcasterDeprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.metaBroadcaster()instead.static voidDeprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.metaBroadcaster()instead.static AtmosphereResourceFactoryDeprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.atmosphereFactory()instead.static voidDeprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.atmosphereFactory()instead.Deprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.sessionFactory()instead.static voidDeprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.sessionFactory()instead.
-
Constructor Details
-
Universe
public Universe()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
metaBroadcaster
Deprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.metaBroadcaster()instead.Set theDefaultMetaBroadcaster.- Parameters:
a- the meta-broadcaster
-
broadcasterFactory
Deprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.getBroadcasterFactory()instead.Set theBroadcasterFactory.- Parameters:
a- the broadcaster factory
-
framework
Deprecated, for removal: This API element is subject to removal in a future version.Inject the framework directly or retrieve via servlet context.Set theAtmosphereFramework.- Parameters:
a- the framework instance
-
resourceFactory
Deprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.atmosphereFactory()instead.Set theAtmosphereResourceFactory.- Parameters:
a- the resource factory
-
sessionResourceFactory
@Deprecated(forRemoval=true) public static void sessionResourceFactory(AtmosphereResourceSessionFactory a) Deprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.sessionFactory()instead.Set theAtmosphereResourceSessionFactory.- Parameters:
a- the session factory
-
broadcasterFactory
Deprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.getBroadcasterFactory()instead.Return theBroadcasterFactory.- Returns:
- the broadcaster factory
-
framework
Deprecated, for removal: This API element is subject to removal in a future version.Inject the framework directly or retrieve via servlet context.Return theAtmosphereFramework.- Returns:
- the framework instance
-
resourceFactory
Deprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.atmosphereFactory()instead.Return theAtmosphereResourceFactory.- Returns:
- the resource factory
-
sessionFactory
Deprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.sessionFactory()instead.Return theAtmosphereResourceSessionFactory.- Returns:
- the session factory
-
metaBroadcaster
Deprecated, for removal: This API element is subject to removal in a future version.UseAtmosphereFramework.metaBroadcaster()instead.Return theDefaultMetaBroadcaster.- Returns:
- the meta-broadcaster
-
Or equivalently viaAtmosphereFramework.getBroadcasterFactory()AtmosphereFramework.atmosphereFactory()AtmosphereFramework.sessionFactory()AtmosphereFramework.metaBroadcaster()AtmosphereConfig:AtmosphereConfig.getBroadcasterFactory()AtmosphereConfig.resourcesFactory()AtmosphereConfig.sessionFactory()AtmosphereConfig.metaBroadcaster()