com.sun.ws.rest.spi.resource
Class Injectable<T extends java.lang.annotation.Annotation,V>

java.lang.Object
  extended by com.sun.ws.rest.spi.resource.Injectable<T,V>

public abstract class Injectable<T extends java.lang.annotation.Annotation,V>
extends java.lang.Object

A utility base class for implementing injectable resources.


Constructor Summary
Injectable()
           
 
Method Summary
abstract  java.lang.Class<T> getAnnotationClass()
           
abstract  V getInjectableValue(T a)
           
 void inject(java.lang.Object resource, java.lang.reflect.Field f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Injectable

public Injectable()
Method Detail

getAnnotationClass

public abstract java.lang.Class<T> getAnnotationClass()

inject

public void inject(java.lang.Object resource,
                   java.lang.reflect.Field f)

getInjectableValue

public abstract V getInjectableValue(T a)