com.caucho.ejb.gen
Class StatelessCreateMethod

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

public class StatelessCreateMethod
extends BusinessMethodGenerator

Represents a stateless create business method


Constructor Summary
StatelessCreateMethod(StatelessGenerator bean, StatelessView homeView, View objectView, ApiMethod apiMethod, ApiMethod 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 generateThis(JavaWriter out)
          Generates the underlying bean instance
protected  java.lang.String getSuper()
          Generates the underlying bean instance
 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, generateHeader, generateInterceptorTarget, generatePreReturn, generatePrologue, generatePrologueTop, generateThrows, getApiMethod, getEjbClass, getImplMethod, getInterceptor, getSecurity, getView, getXa, hasException, hasXA, introspect, setRemove, setRemoveRetainIfException, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatelessCreateMethod

public StatelessCreateMethod(StatelessGenerator bean,
                             StatelessView homeView,
                             View objectView,
                             ApiMethod apiMethod,
                             ApiMethod implMethod,
                             int index)
Method Detail

isEnhanced

public boolean isEnhanced()
Description copied from class: BusinessMethodGenerator
Returns true if any interceptors enhance the business method

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

generateContent

protected void generateContent(JavaWriter out)
                        throws java.io.IOException
Overrides:
generateContent in class BusinessMethodGenerator
Throws:
java.io.IOException

generatePreCall

protected void generatePreCall(JavaWriter out)
                        throws java.io.IOException
Description copied from class: BusinessMethodGenerator
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

generatePostCall

protected void generatePostCall(JavaWriter out)
                         throws java.io.IOException
Description copied from class: BusinessMethodGenerator
Generates the underlying bean instance

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