|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.gen.NullGenerator<X>
com.caucho.config.gen.MethodTailGenerator<X>
com.caucho.ejb.gen.MessageMethodTailGenerator<X>
@Module public class MessageMethodTailGenerator<X>
Represents a stateless local business method
| Field Summary |
|---|
| Fields inherited from class com.caucho.config.gen.MethodTailGenerator |
|---|
_factory, _method |
| Fields inherited from class com.caucho.config.gen.NullGenerator |
|---|
NULL |
| Constructor Summary | |
|---|---|
MessageMethodTailGenerator(MessageMethodTailFactory<X> factory,
AnnotatedMethod<? super X> method)
|
|
| Method Summary | |
|---|---|
void |
generatePreCall(JavaWriter out)
Generates code in the "try" block before the call |
| Methods inherited from class com.caucho.config.gen.MethodTailGenerator |
|---|
generateCall, getMethod, isApplicationExceptionThrown |
| Methods inherited from class com.caucho.config.gen.NullGenerator |
|---|
generate, generateApplicationException, generateAsync, generateBeanConstructor, generateBeanPrologue, generateDestroy, generateEpilogue, generateFinally, generateInject, generateMethodPrologue, generatePostCall, generatePostConstruct, generatePostFinally, generatePreDestroy, generatePreTry, generateProxyConstructor, generateSystemException |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageMethodTailGenerator(MessageMethodTailFactory<X> factory,
AnnotatedMethod<? super X> method)
| Method Detail |
|---|
public void generatePreCall(JavaWriter out)
throws java.io.IOException
retType myMethod(...)
{
...
try {
[pre-call]
ret = super.myMethod(...)
...
}
generatePreCall in interface AspectGenerator<X>generatePreCall in class NullGenerator<X>java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||