com.caucho.ejb.gen
Class StatelessLocalMethod

java.lang.Object
  extended by com.caucho.ejb.gen.BusinessMethodGenerator
      extended by com.caucho.ejb.gen.StatelessLocalMethod
All Implemented Interfaces:
EjbCallChain

public class StatelessLocalMethod
extends BusinessMethodGenerator

Represents a stateless local business method


Constructor Summary
StatelessLocalMethod(ApiClass ejbClass, java.lang.String beanClassName, StatelessView view, ApiMethod apiMethod, java.lang.reflect.Method implMethod, int index)
           
 
Method Summary
protected  void generatePostCall(JavaWriter out)
          Generates the underlying bean instance
protected  void generatePreCall(JavaWriter out)
          Generates the underlying bean instance
protected  void generatePreReturn(JavaWriter out)
          Generates the underlying bean instance
protected  void generateThis(JavaWriter out)
          Generates the underlying bean instance
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
 
Methods inherited from class com.caucho.ejb.gen.BusinessMethodGenerator
createXa, generate, generateCall, generateCall, generateConstructor, generateConstructorTop, generateContent, generateHeader, generateInterceptorTarget, generatePrologue, generatePrologueTop, generateThrows, getApiMethod, getEjbClass, getImplMethod, getInterceptor, getSecurity, getView, getXa, hasException, hasXA, setRemove, setRemoveRetainIfException, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatelessLocalMethod

public StatelessLocalMethod(ApiClass ejbClass,
                            java.lang.String beanClassName,
                            StatelessView view,
                            ApiMethod apiMethod,
                            java.lang.reflect.Method implMethod,
                            int index)
Method Detail

introspect

public void introspect(java.lang.reflect.Method apiMethod,
                       java.lang.reflect.Method implMethod)
Session bean default is REQUIRED

Specified by:
introspect in interface EjbCallChain
Overrides:
introspect in class BusinessMethodGenerator

isEnhanced

public boolean isEnhanced()
Returns true if any interceptors enhance the business method

Specified by:
isEnhanced in interface EjbCallChain
Overrides:
isEnhanced in class BusinessMethodGenerator

generatePreCall

protected void generatePreCall(JavaWriter out)
                        throws java.io.IOException
Generates the underlying bean instance

Overrides:
generatePreCall in class BusinessMethodGenerator
Throws:
java.io.IOException

generateThis

protected void generateThis(JavaWriter out)
                     throws java.io.IOException
Generates the underlying bean instance

Overrides:
generateThis in class BusinessMethodGenerator
Throws:
java.io.IOException

getSuper

protected java.lang.String getSuper()
Generates the underlying bean instance

Overrides:
getSuper in class BusinessMethodGenerator

generatePreReturn

protected void generatePreReturn(JavaWriter out)
                          throws java.io.IOException
Generates the underlying bean instance

Overrides:
generatePreReturn in class BusinessMethodGenerator
Throws:
java.io.IOException

generatePostCall

protected void generatePostCall(JavaWriter out)
                         throws java.io.IOException
Generates the underlying bean instance

Overrides:
generatePostCall in class BusinessMethodGenerator
Throws:
java.io.IOException