com.salto.db.generator.plugin
Class SpringEJB3AndHibernateDAOPlugin

java.lang.Object
  extended by com.salto.db.generator.plugin.DefaultAbstractGeneratorPlugin
      extended by com.salto.db.generator.plugin.VelocityAbstractPlugin
          extended by com.salto.db.generator.plugin.SpringEJB3AndHibernateDAOPlugin
All Implemented Interfaces:
IGeneratorPlugin
Direct Known Subclasses:
SpringEJB3AndHibernateDAOAndTestCasesPlugin

public class SpringEJB3AndHibernateDAOPlugin
extends VelocityAbstractPlugin


Field Summary
protected  EJB3Plugin ejb3Plugin
           
static java.lang.String TEMPLATE_PATH
           
 
Fields inherited from class com.salto.db.generator.plugin.DefaultAbstractGeneratorPlugin
defaultNameOffset, doPrefix, pckName, srcPath
 
Constructor Summary
SpringEJB3AndHibernateDAOPlugin()
           
 
Method Summary
 void execute(java.lang.String className, JdoInfo info)
           
 java.lang.String getDefaultPrefix()
           
 EJB3Plugin getEjb3Plugin()
           
 java.lang.String getLongDescription()
           
 java.lang.String getName()
           
 java.lang.String getShortDescription()
           
 void init(java.lang.String doPrefix, int defaultNameOffset, java.lang.String srcPath, java.lang.String pckName)
           
 void postExecute(JdoInfo[] infos)
           
 void setEjb3Plugin(EJB3Plugin ejb3Plugin)
           
 
Methods inherited from class com.salto.db.generator.plugin.VelocityAbstractPlugin
runVelocity
 
Methods inherited from class com.salto.db.generator.plugin.DefaultAbstractGeneratorPlugin
abort, getDefaultNameOffset, setDefaultNameOffset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ejb3Plugin

protected EJB3Plugin ejb3Plugin

TEMPLATE_PATH

public static final java.lang.String TEMPLATE_PATH
See Also:
Constant Field Values
Constructor Detail

SpringEJB3AndHibernateDAOPlugin

public SpringEJB3AndHibernateDAOPlugin()
Method Detail

execute

public void execute(java.lang.String className,
                    JdoInfo info)
             throws java.lang.Exception
Throws:
java.lang.Exception

getDefaultPrefix

public java.lang.String getDefaultPrefix()
Specified by:
getDefaultPrefix in interface IGeneratorPlugin
Overrides:
getDefaultPrefix in class DefaultAbstractGeneratorPlugin

getLongDescription

public java.lang.String getLongDescription()

getName

public java.lang.String getName()

getShortDescription

public java.lang.String getShortDescription()

postExecute

public void postExecute(JdoInfo[] infos)
                 throws java.lang.Exception
Specified by:
postExecute in interface IGeneratorPlugin
Overrides:
postExecute in class DefaultAbstractGeneratorPlugin
Throws:
java.lang.Exception

init

public void init(java.lang.String doPrefix,
                 int defaultNameOffset,
                 java.lang.String srcPath,
                 java.lang.String pckName)
          throws java.lang.Exception
Specified by:
init in interface IGeneratorPlugin
Overrides:
init in class DefaultAbstractGeneratorPlugin
Throws:
java.lang.Exception

getEjb3Plugin

public EJB3Plugin getEjb3Plugin()

setEjb3Plugin

public void setEjb3Plugin(EJB3Plugin ejb3Plugin)


Copyright © 2002-2008 Salto Consulting. All Rights Reserved.