2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.runtime.tomcat
Class TuscanyAnnotationProcessor
java.lang.Object
org.apache.tuscany.sca.runtime.tomcat.TuscanyAnnotationProcessor
public class TuscanyAnnotationProcessor
- extends java.lang.Object
A Tuscany specific Tomcat annotation processor for processing SCA annotations
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TuscanyAnnotationProcessor
public TuscanyAnnotationProcessor(StandardContext scaApp)
postConstruct
public void postConstruct(java.lang.Object instance)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
preDestroy
public void preDestroy(java.lang.Object instance)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
processAnnotations
public void processAnnotations(java.lang.Object instance)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
javax.naming.NamingException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
javax.naming.NamingException
injectFieldResource
protected void injectFieldResource(java.lang.Object instance,
java.lang.reflect.Field field,
org.osoa.sca.annotations.Reference annotation)
throws java.lang.IllegalArgumentException,
java.lang.IllegalAccessException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
injectMethodResource
protected void injectMethodResource(java.lang.Object instance,
java.lang.reflect.Method method,
org.osoa.sca.annotations.Reference annotation)
throws java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
getSCADomain
protected SCADomain getSCADomain()