com.sun.jersey.atom.abdera.impl.provider.injectable
Class ContentHelperProvider

java.lang.Object
  extended by com.sun.jersey.atom.abdera.impl.provider.injectable.ContentHelperProvider
All Implemented Interfaces:
InjectableProvider<javax.ws.rs.core.Context,java.lang.reflect.Type>

public class ContentHelperProvider
extends java.lang.Object
implements InjectableProvider<javax.ws.rs.core.Context,java.lang.reflect.Type>

Jersey-specific injectable provider that supplies a configured instance of ContentHelper for this application.


Constructor Summary
ContentHelperProvider()
           
 
Method Summary
 Injectable getInjectable(ComponentContext ic, javax.ws.rs.core.Context a, java.lang.reflect.Type t)
          Get an injectable.
 ComponentScope getScope()
          Get the scope of the injectable provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentHelperProvider

public ContentHelperProvider()
Method Detail

getScope

public ComponentScope getScope()
Description copied from interface: InjectableProvider
Get the scope of the injectable provider.

Specified by:
getScope in interface InjectableProvider<javax.ws.rs.core.Context,java.lang.reflect.Type>
Returns:
the scope.

getInjectable

public Injectable getInjectable(ComponentContext ic,
                                javax.ws.rs.core.Context a,
                                java.lang.reflect.Type t)
Description copied from interface: InjectableProvider
Get an injectable.

Specified by:
getInjectable in interface InjectableProvider<javax.ws.rs.core.Context,java.lang.reflect.Type>
Parameters:
ic - the injectable context
a - the annotation instance
t - the context instance
Returns:
an Injectable instance, otherwise null if an instance cannot be created.


Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.