|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface ManagedService
A Meta annotation that configure Atmosphere with
UUIDBroadcasterCachefor caching message. AtmosphereResourceLifecycleInterceptor for managing the connection lifecycleTrackMessageSizeInterceptor for making sure messages are delivered entirelyHeartbeatInterceptor for keeping the connection activeAtmosphereHandler is the same as doing:
- Author:
- Jeanfrancois Arcand
Optional Element Summary String[]atmosphereConfig
Atmosphere's configuration that will be passed to the associatedAtmosphereHandler.Class<? extends Broadcaster>broadcaster
TheBroadcasterclass nameClass<? extends BroadcasterCache>broadcasterCache
TheBroadcasterCacheclass name Default isUUIDBroadcasterCache.Class<? extends BroadcastFilter>[]broadcastFilters
A list ofBroadcastFilterClass<? extends AtmosphereInterceptor>[]interceptors
A list ofAtmosphereInterceptorto install.Class<? extends AtmosphereResourceEventListener>[]listeners
AddAtmosphereResourceEventListenerto track internal events.Stringpath
The mapping path or context-root used to map this AtmosphereHandlerpath
public abstract String path
- The mapping path or context-root used to map this AtmosphereHandler
- Returns:
- mapping path or context-root used to map this AtmosphereHandler
- Default:
- "/"
listeners
public abstract Class<? extends AtmosphereResourceEventListener>[] listeners
- Add
AtmosphereResourceEventListenerto track internal events.
- Default:
- {}
broadcaster
public abstract Class<? extends Broadcaster> broadcaster
- The
Broadcasterclass name
- Returns:
- The
Broadcasterclass name
- Default:
- org.atmosphere.cpr.DefaultBroadcaster.class
interceptors
public abstract Class<? extends AtmosphereInterceptor>[] interceptors
- A list of
AtmosphereInterceptorto install. Default areAtmosphereResourceLifecycleInterceptor,ManagedServiceInterceptor,TrackMessageSizeInterceptor,HeartbeatInterceptorandSuspendTrackerInterceptor
- Default:
- {org.atmosphere.interceptor.AtmosphereResourceLifecycleInterceptor.class, org.atmosphere.client.TrackMessageSizeInterceptor.class, org.atmosphere.interceptor.HeartbeatInterceptor.class, org.atmosphere.interceptor.SuspendTrackerInterceptor.class}
atmosphereConfig
public abstract String[] atmosphereConfig
- Atmosphere's configuration that will be passed to the associated
AtmosphereHandler. Configuration name and value is delimited by "=", and different configuration lines are separated by comma.
- Default:
- {}
broadcasterCache
public abstract Class<? extends BroadcasterCache> broadcasterCache
- The
BroadcasterCacheclass name Default isUUIDBroadcasterCache.
- Returns:
- The
Broadcasterclass name.
- Default:
- org.atmosphere.cache.UUIDBroadcasterCache.class
broadcastFilters
public abstract Class<? extends BroadcastFilter>[] broadcastFilters
- A list of
BroadcastFilter
- Default:
- {}
Overview Package Class Use Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: REQUIRED | OPTIONAL DETAIL: ELEMENT
Copyright © 2014. All Rights Reserved.