com.caucho.ejb.gen
Class StatelessScheduledMethodHeadGenerator<X>

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

public class StatelessScheduledMethodHeadGenerator<X>
extends AbstractAspectGenerator<X>


Constructor Summary
StatelessScheduledMethodHeadGenerator(StatelessScheduledMethodHeadFactory<X> factory, AnnotatedMethod<? super X> method, AspectGenerator<X> next)
           
 
Method Summary
 void generate(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> prologueMap)
          Generates the overridden method.
 void generateApplicationException(JavaWriter out, java.lang.Class<?> exn)
          Generates application (checked) exception code for the method.
 boolean isOverride()
           
 
Methods inherited from class com.caucho.config.gen.AbstractAspectGenerator
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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatelessScheduledMethodHeadGenerator

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

isOverride

public boolean isOverride()

generateApplicationException

public void generateApplicationException(JavaWriter out,
                                         java.lang.Class<?> exn)
                                  throws java.io.IOException
Description copied from class: AbstractAspectGenerator
Generates application (checked) exception code for the method.

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

generate

public 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