|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.webadmin.ejbgen.EJBTemplate
public abstract class EJBTemplate
Constructor Summary | |
---|---|
EJBTemplate()
|
Method Summary | |
---|---|
void |
buildZipFile()
This will build a zip file for all the files built by the EJB Generator |
void |
createBackup()
This method backs up all structure and classes for the EJB if there are already classes in the save location with the same name. |
abstract void |
createBenCode()
|
void |
createClass(java.lang.String ejbname,
java.lang.String ejbobj)
This method actually creates the file for the proper class. |
abstract void |
createEJB()
|
abstract void |
createEJBXML()
|
abstract void |
createHmeCode()
|
abstract void |
createObjCode()
|
void |
createPackage()
This method creates the directory structure to fit the same structure as the package input by the user. |
void |
createXML(java.lang.String filename,
java.lang.String code)
Same as writeClass() method but it creates the structure and files that are XML Files. |
java.lang.String |
getBeanDir()
This method is used to get the path to where the EJB Template's source is stored locally on the computer. |
void |
setVars(java.lang.String ejbname,
java.lang.String ejbdesc,
java.lang.String ejbauth,
java.lang.String ejbpack,
java.lang.String ejbsloc,
java.lang.String ejbstyp)
The setVars method will initialize all String variables needed for the methods in this class. |
void |
writeClass(java.lang.String filename,
java.lang.String code)
This method does the writing to the class created by the createClass() method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EJBTemplate()
Method Detail |
---|
public abstract void createEJB()
public abstract void createEJBXML()
public abstract void createObjCode()
public abstract void createHmeCode()
public abstract void createBenCode()
public void setVars(java.lang.String ejbname, java.lang.String ejbdesc, java.lang.String ejbauth, java.lang.String ejbpack, java.lang.String ejbsloc, java.lang.String ejbstyp)
ejbname
- the ejb's nameejbdesc
- the ejb's descriptionejbauth
- the ejb's authorejbpack
- the ejb's packageejbsloc
- the ejb's save locationpublic void createBackup()
public void createPackage()
public void createClass(java.lang.String ejbname, java.lang.String ejbobj)
ejbname
- the name of the classejbobj
- the type of the classpublic void writeClass(java.lang.String filename, java.lang.String code)
filename
- the filename in String datatypecode
- the code to be written to the filenamepublic void createXML(java.lang.String filename, java.lang.String code)
filename
- the filename in String datatypecode
- the code to be written to the filenamepublic void buildZipFile()
public java.lang.String getBeanDir()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |