org.atmosphere.jersey
Class AtmosphereResourceInjector

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

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

Allow AtmosphereResourceEvent injection via the Context annotation supported by Jersey.

Author:
Jeanfrancois Arcand

Constructor Summary
AtmosphereResourceInjector()
           
 
Method Summary
 com.sun.jersey.spi.inject.Injectable<AtmosphereResource<HttpServletRequest,HttpServletResponse>> 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()
           
 boolean isValidType(Type c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtmosphereResourceInjector

public AtmosphereResourceInjector()
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<AtmosphereResource<HttpServletRequest,HttpServletResponse>> 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>

isValidType

public boolean isValidType(Type c)


Copyright © 2010. All Rights Reserved.