org.atmosphere.jersey
Class AtmosphereResourceInjector
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtmosphereResourceInjector
public AtmosphereResourceInjector()
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.