com.caucho.config.gen
Class AsyncHeadGenerator<X>

java.lang.Object
  extended by com.caucho.config.gen.AbstractAspectGenerator<X>
      extended by com.caucho.config.gen.AsyncHeadGenerator<X>
All Implemented Interfaces:
AspectGenerator<X>

@Module
public class AsyncHeadGenerator<X>
extends AbstractAspectGenerator<X>

Generates the method aspect code for the head or proxy of the method.


Constructor Summary
AsyncHeadGenerator(AsynchronousFactory<X> factory, AnnotatedMethod<? super X> method, AspectGenerator<X> next)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 void generate(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> prologueMap)
          Generates the overridden method.
protected  boolean isOverride()
           
 
Methods inherited from class com.caucho.config.gen.AbstractAspectGenerator
generateApplicationException, generateAsync, generateBeanConstructor, generateBeanPrologue, generateCall, generateContent, generateDestroy, generateEpilogue, generateFinally, generateInject, generateMethodPrologue, generatePostCall, generatePostConstruct, generatePostFinally, generatePreCall, generatePreDestroy, generatePreTry, generateProxyConstructor, generateSystemException, getAnnotation, getAnnotation, getAnnotation, getBeanFactory, getBeanType, getFactory, getJavaClass, getJavaMethod, getMethod, getThrowsExceptions, getTypeVariables, isApplicationExceptionThrown, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsyncHeadGenerator

public AsyncHeadGenerator(AsynchronousFactory<X> factory,
                          AnnotatedMethod<? super X> method,
                          AspectGenerator<X> next)
Method Detail

isOverride

protected boolean isOverride()

generate

public final void generate(JavaWriter out,
                           java.util.HashMap<java.lang.String,java.lang.Object> prologueMap)
                    throws java.io.IOException
Generates the overridden method.

Specified by:
generate in interface AspectGenerator<X>
Overrides:
generate in class AbstractAspectGenerator<X>
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object