com.caucho.config.gen
Class LifecycleInterceptor
java.lang.Object
com.caucho.config.gen.LifecycleInterceptor
public class LifecycleInterceptor
- extends java.lang.Object
Represents the interception
Constructor Summary |
LifecycleInterceptor(java.lang.Class<? extends java.lang.annotation.Annotation> annType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifecycleInterceptor
public LifecycleInterceptor(java.lang.Class<? extends java.lang.annotation.Annotation> annType)
isEnhanced
public boolean isEnhanced()
- Returns true if the business method has any active XA annotation.
getInterceptors
public java.util.ArrayList<java.lang.Class<?>> getInterceptors()
introspect
public void introspect(AnnotatedType<?> implClass)
- Introspects the @Interceptors annotation on the method
and the class.
generatePrologue
public void generatePrologue(JavaWriter out,
java.util.HashMap map)
throws java.io.IOException
- Throws:
java.io.IOException
generateConstructor
public void generateConstructor(JavaWriter out,
java.util.HashMap map)
throws java.io.IOException
- Throws:
java.io.IOException
generateCall
public void generateCall(JavaWriter out)
throws java.io.IOException
- Throws:
java.io.IOException
generateMethodChain
protected void generateMethodChain(JavaWriter out)
throws java.io.IOException
- Throws:
java.io.IOException
generateObjectChain
protected void generateObjectChain(JavaWriter out)
throws java.io.IOException
- Throws:
java.io.IOException
generateGetMethod
protected void generateGetMethod(JavaWriter out,
java.lang.reflect.Method method)
throws java.io.IOException
- Throws:
java.io.IOException
generateGetMethod
protected void generateGetMethod(JavaWriter out,
java.lang.String className,
java.lang.String methodName,
java.lang.Class[] paramTypes)
throws java.io.IOException
- Throws:
java.io.IOException
printCastClass
protected void printCastClass(JavaWriter out,
java.lang.Class type)
throws java.io.IOException
- Throws:
java.io.IOException