com.caucho.config.gen
Class MethodTailGenerator<X>
java.lang.Object
com.caucho.config.gen.NullGenerator<X>
com.caucho.config.gen.MethodTailGenerator<X>
- All Implemented Interfaces:
- AspectGenerator<X>
- Direct Known Subclasses:
- LifecycleMethodTailGenerator, MessageMethodTailGenerator, StatelessMethodTailGenerator
@Module
public class MethodTailGenerator<X>
- extends NullGenerator<X>
The dispatch to the actual method call for the aspect chain.
Methods inherited from class com.caucho.config.gen.NullGenerator |
generate, generateApplicationException, generateAsync, generateBeanConstructor, generateBeanPrologue, generateDestroy, generateEpilogue, generateFinally, generateInject, generateMethodPrologue, generatePostCall, generatePostConstruct, generatePostFinally, generatePreCall, generatePreDestroy, generatePreTry, generateProxyConstructor, generateSystemException |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_factory
protected final MethodTailFactory<X> _factory
_method
protected final AnnotatedMethod<? super X> _method
MethodTailGenerator
public MethodTailGenerator(MethodTailFactory<X> factory,
AnnotatedMethod<? super X> method)
getMethod
public AnnotatedMethod<? super X> getMethod()
- Description copied from interface:
AspectGenerator
- Returns the underlying method.
- Specified by:
getMethod
in interface AspectGenerator<X>
- Overrides:
getMethod
in class NullGenerator<X>
generateCall
public void generateCall(JavaWriter out)
throws java.io.IOException
- Generates the call to the implementation bean.
- Specified by:
generateCall
in interface AspectGenerator<X>
- Overrides:
generateCall
in class NullGenerator<X>
- Parameters:
superVar
- java code to reference the implementation
- Throws:
java.io.IOException
isApplicationExceptionThrown
public boolean isApplicationExceptionThrown()
- Description copied from class:
NullGenerator
- True if the application exceptions are thrown
- Specified by:
isApplicationExceptionThrown
in interface AspectGenerator<X>
- Overrides:
isApplicationExceptionThrown
in class NullGenerator<X>