Using the MeteorService Annotation - Atmosphere/atmosphere Wiki

The MeteorService can be used to configure existing Servlet based Application. Any Servlet can be simply annotated and can start using the Atmosphere's Meteor API. As simple as this

@MeteorService

The annotation's attributes available are

Class Scope Annotations available

@Singleton

The Singleton annotation can be used to force Atmosphere to create a single, thread safe instance of a MeteorService annotated classes. For example, if your application set the @MeteorService's path attribute with using path templates {something}, by default a new instance of the annotated classes will be created. When annotated with Singleton, a single class will be created.