org.atmosphere.core
Class AtmosphereEventInjector

java.lang.Object
  extended by org.atmosphere.core.AtmosphereEventInjector
All Implemented Interfaces:
com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>

@Provider
public class AtmosphereEventInjector
extends Object
implements com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>

Allow AtmosphereEvent injection via the Context annotation supported by Jersey.

Author:
Jeanfrancois Arcand

Constructor Summary
AtmosphereEventInjector()
           
 
Method Summary
 com.sun.jersey.spi.inject.Injectable getInjectable(com.sun.jersey.core.spi.component.ComponentContext ic, javax.ws.rs.core.Context a, Type c)
           
 com.sun.jersey.core.spi.component.ComponentScope getScope()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtmosphereEventInjector

public AtmosphereEventInjector()
Method Detail

getScope

public com.sun.jersey.core.spi.component.ComponentScope getScope()
Specified by:
getScope in interface com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>

getInjectable

public com.sun.jersey.spi.inject.Injectable getInjectable(com.sun.jersey.core.spi.component.ComponentContext ic,
                                                          javax.ws.rs.core.Context a,
                                                          Type c)
Specified by:
getInjectable in interface com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>


Copyright © 2009 SUN Microsystems. All Rights Reserved.