org.apache.geronimo.jaxws.annotations
Class InjectingAnnotationHandler
java.lang.Object
org.apache.geronimo.jaxws.annotations.InjectingAnnotationHandler
- All Implemented Interfaces:
- AnnotationHandler
- Direct Known Subclasses:
- EJBAnnotationHandler, ResourceAnnotationHandler, WebServiceRefAnnotationHandler
public abstract class InjectingAnnotationHandler
- extends Object
- implements AnnotationHandler
Method Summary |
abstract Object |
getAnnotationValue(Annotation annotation,
String name,
Class<?> type)
|
String |
getJNDIName(Object instance,
String name,
Field field)
|
String |
getJNDIName(Object instance,
String name,
Method method)
|
Class<?> |
getType(Class<?> type,
Field field)
|
Class<?> |
getType(Class<?> type,
Method method)
|
protected void |
injectField(Object instance,
Field field,
Annotation annotation,
String name,
Class<?> type)
|
protected void |
injectMethod(Object instance,
Method method,
Annotation annotation,
String name,
Class<?> type)
|
void |
processClassAnnotation(Object instance,
Class clazz,
Annotation annotation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InjectingAnnotationHandler
public InjectingAnnotationHandler()
getAnnotationValue
public abstract Object getAnnotationValue(Annotation annotation,
String name,
Class<?> type)
throws InjectionException
- Throws:
InjectionException
processClassAnnotation
public void processClassAnnotation(Object instance,
Class clazz,
Annotation annotation)
- Specified by:
processClassAnnotation
in interface AnnotationHandler
getJNDIName
public String getJNDIName(Object instance,
String name,
Field field)
getJNDIName
public String getJNDIName(Object instance,
String name,
Method method)
getType
public Class<?> getType(Class<?> type,
Field field)
getType
public Class<?> getType(Class<?> type,
Method method)
injectField
protected void injectField(Object instance,
Field field,
Annotation annotation,
String name,
Class<?> type)
throws InjectionException
- Throws:
InjectionException
injectMethod
protected void injectMethod(Object instance,
Method method,
Annotation annotation,
String name,
Class<?> type)
throws InjectionException
- Throws:
InjectionException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.