org.atmosphere.config.service
Annotation Type AtmosphereHandlerService


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface AtmosphereHandlerService

An annotation for AtmosphereHandler

Author:
Jeanfrancois Arcand

Optional Element Summary
 String[] atmosphereConfig
          Atmosphere's config that will be passed to the associated AtmosphereHandler.
 Class<? extends Broadcaster> broadcaster
          The Broadcaster class name
 Class<? extends BroadcastFilter>[] broadcastFilters
          A list of BroadcastFilter
 Class<? extends AtmosphereInterceptor>[] interceptors
          A list of AtmosphereInterceptor to install
 String path
          The mapping path, or context-root used to map this AtmosphereHandler
 String[] properties
          Properties that will be passed to the associated AtmosphereHandler.
 boolean supportSession
          Does this AtmosphereHandler support session
 

broadcaster

public abstract Class<? extends Broadcaster> broadcaster
The Broadcaster class name

Returns:
The Broadcaster class name
Default:
org.atmosphere.cpr.DefaultBroadcaster.class

broadcastFilters

public abstract Class<? extends BroadcastFilter>[] broadcastFilters
A list of BroadcastFilter

Default:
{}

path

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:
"/"

properties

public abstract String[] properties
Properties that will be passed to the associated AtmosphereHandler. Properties are defined delimited using "=" and separated using coma.

Returns:
an array of properties that will be passed to the associated AtmosphereHandler
Default:
{}

supportSession

public abstract boolean supportSession
Does this AtmosphereHandler support session

Returns:
true if session are supported.
Default:
false

atmosphereConfig

public abstract String[] atmosphereConfig
Atmosphere's config that will be passed to the associated AtmosphereHandler. Atmosphere's config are defined delimited using "=" and separated using coma.

Returns:
Atmosphere's config that will be passed to the associated AtmosphereHandler. Atmosphere's config are defined delimited using "=" and separated using coma.
Default:
{}

interceptors

public abstract Class<? extends AtmosphereInterceptor>[] interceptors
A list of AtmosphereInterceptor to install

Default:
{}


Copyright © 2013. All Rights Reserved.