org.atmosphere.config.service
Annotation Type MeteorService


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

Annotate a Meteor implementation so Atmosphere can install it at runtime.

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 url mapping for the associated Meteor
 boolean supportSession
          Does this AtmosphereHandler support session
 

path

public abstract String path
The url mapping for the associated Meteor

Returns:
url mapping for the associated Meteor
Default:
"/"

broadcastFilters

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

Default:
{}

broadcaster

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

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

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 © 2012. All Rights Reserved.