Package org.atmosphere.config.service
Annotation Interface MeteorService
Annotate a
Meteor implementation so Atmosphere can install it at runtime.- Author:
- Jeanfrancois Arcand
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Atmosphere's configuration that will be passed to the associatedAtmosphereHandler.Class<? extends Broadcaster> TheBroadcasterclass nameClass<? extends BroadcasterCache> TheBroadcasterCacheclass name.Class<? extends BroadcastFilter>[]A list ofBroadcastFilterClass<? extends AtmosphereInterceptor>[]A list ofAtmosphereInterceptorto installClass<? extends AtmosphereResourceEventListener>[]AddAtmosphereResourceEventListenerto track internal events.The url mapping for the associatedMeteorbooleanSet to true if thisAtmosphereHandlersupports sessions
-
Element Details
-
path
String pathThe url mapping for the associatedMeteor- Returns:
- url mapping for the associated
Meteor
- Default:
"/"
-
broadcastFilters
Class<? extends BroadcastFilter>[] broadcastFiltersA list ofBroadcastFilter- Default:
{}
-
broadcaster
Class<? extends Broadcaster> broadcasterTheBroadcasterclass name- Returns:
- The
Broadcasterclass name
- Default:
org.atmosphere.cpr.DefaultBroadcaster.class
-
supportSession
boolean supportSessionSet to true if thisAtmosphereHandlersupports sessions- Returns:
- true if sessions are supported.
- Default:
false
-
atmosphereConfig
String[] atmosphereConfigAtmosphere's configuration that will be passed to the associatedAtmosphereHandler. Configuration name and value is delimited by "=", and different configuration lines are separated by comma.- Default:
{}
-
interceptors
Class<? extends AtmosphereInterceptor>[] interceptorsA list ofAtmosphereInterceptorto install- Default:
{}
-
broadcasterCache
Class<? extends BroadcasterCache> broadcasterCacheTheBroadcasterCacheclass name. By default, a no-opsDefaultBroadcasterCacheis installed. It is strongly recommended to install theUUIDBroadcasterCacheto prevent messages being lost.- Returns:
- The
Broadcasterclass name
- Default:
org.atmosphere.cache.DefaultBroadcasterCache.class
-
listeners
Class<? extends AtmosphereResourceEventListener>[] listenersAddAtmosphereResourceEventListenerto track internal events.- Default:
{}
-