org.openejb.webadmin.ejbgen
Class StatefulBean

java.lang.Object
  extended by org.openejb.webadmin.ejbgen.EJBTemplate
      extended by org.openejb.webadmin.ejbgen.StatefulBean

public class StatefulBean
extends EJBTemplate


Constructor Summary
StatefulBean(java.lang.String name, java.lang.String desc, java.lang.String auth, java.lang.String pack, java.lang.String sloc, java.lang.String styp)
          Constructor for Stateful EJB Bean Template
 
Method Summary
 void createBenCode()
          This creates the code for the Bean
 void createEJB()
          This method actually calls all methods to create the EJB Template
 void createEJBXML()
          This creates the code for the ejb-xml.jar
 void createHmeCode()
          This creates the code for the Home Interface
 void createObjCode()
          This creates the code for the Remote Interface
 
Methods inherited from class org.openejb.webadmin.ejbgen.EJBTemplate
buildZipFile, createBackup, createClass, createPackage, createXML, getBeanDir, setVars, writeClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulBean

public StatefulBean(java.lang.String name,
                    java.lang.String desc,
                    java.lang.String auth,
                    java.lang.String pack,
                    java.lang.String sloc,
                    java.lang.String styp)
Constructor for Stateful EJB Bean Template

Parameters:
name - Name variable passed from form
desc - Description variable passed from form
auth - Author variable passed from form
pack - Package variable passed from form
sloc - Save Location variable passed from form
styp - Save Type variable passed from form
Method Detail

createEJB

public void createEJB()
This method actually calls all methods to create the EJB Template

Specified by:
createEJB in class EJBTemplate

createObjCode

public void createObjCode()
This creates the code for the Remote Interface

Specified by:
createObjCode in class EJBTemplate

createHmeCode

public void createHmeCode()
This creates the code for the Home Interface

Specified by:
createHmeCode in class EJBTemplate

createBenCode

public void createBenCode()
This creates the code for the Bean

Specified by:
createBenCode in class EJBTemplate

createEJBXML

public void createEJBXML()
This creates the code for the ejb-xml.jar

Specified by:
createEJBXML in class EJBTemplate


Copyright © 1999-2011 OpenEJB. All Rights Reserved.