org.openejb.webadmin.ejbgen
Class CMPBean

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

public class CMPBean
extends EJBTemplate


Constructor Summary
CMPBean(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 CMP Entity 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
 void createPKCode()
          This creates the code for the PrimaryKey
 
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

CMPBean

public CMPBean(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 CMP Entity 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

createPKCode

public void createPKCode()
This creates the code for the PrimaryKey


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.