|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.ejb.gen.BusinessMethodGenerator
com.caucho.ejb.gen.StatefulMethod
public class StatefulMethod
Represents a stateful local business method
| Constructor Summary | |
|---|---|
StatefulMethod(StatefulView view,
ApiMethod apiMethod,
java.lang.reflect.Method implMethod,
int index)
|
|
| Method Summary | |
|---|---|
protected void |
generateContent(JavaWriter out)
|
protected void |
generatePostCall(JavaWriter out)
Generates the underlying bean instance |
protected void |
generatePreCall(JavaWriter out)
Generates the underlying bean instance |
protected void |
generateSuper(JavaWriter out)
Generates the underlying bean instance |
protected void |
generateThis(JavaWriter out)
Generates the underlying bean instance |
protected TransactionAttributeType |
getDefaultTransactionType()
|
protected java.lang.String |
getSuper()
Generates the underlying bean instance |
void |
introspect(java.lang.reflect.Method apiMethod,
java.lang.reflect.Method implMethod)
Session bean default is REQUIRED |
boolean |
isEnhanced()
Returns true if any interceptors enhance the business method |
void |
setRemove(boolean isRemove)
Set true for a remove method |
void |
setRemoveRetainIfException(boolean isRetain)
Set true for a remove method |
| Methods inherited from class com.caucho.ejb.gen.BusinessMethodGenerator |
|---|
createXa, generate, generateCall, generateCall, generateConstructor, generateConstructorTop, generateHeader, generateInterceptorTarget, generatePreReturn, generatePrologue, generatePrologueTop, generateThrows, getApiMethod, getEjbClass, getImplMethod, getInterceptor, getSecurity, getView, getXa, hasException, hasXA, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatefulMethod(StatefulView view,
ApiMethod apiMethod,
java.lang.reflect.Method implMethod,
int index)
| Method Detail |
|---|
public void setRemove(boolean isRemove)
BusinessMethodGenerator
setRemove in class BusinessMethodGeneratorpublic void setRemoveRetainIfException(boolean isRetain)
BusinessMethodGenerator
setRemoveRetainIfException in class BusinessMethodGenerator
public void introspect(java.lang.reflect.Method apiMethod,
java.lang.reflect.Method implMethod)
introspect in interface EjbCallChainintrospect in class BusinessMethodGeneratorprotected TransactionAttributeType getDefaultTransactionType()
public boolean isEnhanced()
isEnhanced in interface EjbCallChainisEnhanced in class BusinessMethodGenerator
protected void generateContent(JavaWriter out)
throws java.io.IOException
generateContent in class BusinessMethodGeneratorjava.io.IOException
protected void generatePreCall(JavaWriter out)
throws java.io.IOException
BusinessMethodGenerator
generatePreCall in class BusinessMethodGeneratorjava.io.IOException
protected void generateThis(JavaWriter out)
throws java.io.IOException
generateThis in class BusinessMethodGeneratorjava.io.IOException
protected void generateSuper(JavaWriter out)
throws java.io.IOException
java.io.IOException
protected java.lang.String getSuper()
throws java.io.IOException
getSuper in class BusinessMethodGeneratorjava.io.IOException
protected void generatePostCall(JavaWriter out)
throws java.io.IOException
generatePostCall in class BusinessMethodGeneratorjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||