@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface ManagedService
UUIDBroadcasterCachefor caching message. AtmosphereResourceLifecycleInterceptor for managing the connection lifecycleTrackMessageSizeInterceptor for making sure messages are delivered entirelyAtmosphereHandler is the same as doing:
| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
atmosphereConfig
Atmosphere's configuration that will be passed to the associated
AtmosphereHandler. |
Class<? extends Broadcaster> |
broadcaster
The
Broadcaster class name |
Class<? extends BroadcasterCache> |
broadcasterCache
The
BroadcasterCache class name
Default is UUIDBroadcasterCache. |
Class<? extends BroadcastFilter>[] |
broadcastFilters
A list of
BroadcastFilter |
Class<? extends AtmosphereInterceptor>[] |
interceptors
A list of
AtmosphereInterceptor to install. |
Class<? extends AtmosphereResourceEventListener>[] |
listeners
Add
AtmosphereResourceEventListener to track internal events. |
String |
path
The mapping path or context-root used to map this AtmosphereHandler
|
public abstract String path
public abstract Class<? extends AtmosphereResourceEventListener>[] listeners
AtmosphereResourceEventListener to track internal events.public abstract Class<? extends Broadcaster> broadcaster
Broadcaster class nameBroadcaster class namepublic abstract Class<? extends AtmosphereInterceptor>[] interceptors
AtmosphereInterceptor to install. Defined interceptor will be appended to the default set: AtmosphereResourceLifecycleInterceptor,
ManagedServiceInterceptor, TrackMessageSizeInterceptor,
HeartbeatInterceptor and SuspendTrackerInterceptorpublic abstract String[] atmosphereConfig
AtmosphereHandler. Configuration
name and value is delimited by "=", and different configuration lines are separated by comma.public abstract Class<? extends BroadcasterCache> broadcasterCache
BroadcasterCache class name
Default is UUIDBroadcasterCache.Broadcaster class name.public abstract Class<? extends BroadcastFilter>[] broadcastFilters
BroadcastFilterCopyright © 2016. All rights reserved.