com.salto.db.generator.plugin
Class SpringWebappPlugin

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.SpringWebappPlugin
All Implemented Interfaces:
IGeneratorPlugin

public class SpringWebappPlugin
extends VelocityAbstractPlugin

Author:
rflament@salto-consulting.com

Field Summary
static java.lang.String TEMPLATE_PATH
           
 
Fields inherited from class com.salto.db.generator.plugin.DefaultAbstractGeneratorPlugin
defaultNameOffset, doPrefix, pckName, srcPath
 
Constructor Summary
SpringWebappPlugin()
           
 
Method Summary
 void execute(java.lang.String className, JdoInfo info)
           
 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)
           
 
Methods inherited from class com.salto.db.generator.plugin.VelocityAbstractPlugin
runVelocity
 
Methods inherited from class com.salto.db.generator.plugin.DefaultAbstractGeneratorPlugin
abort, getDefaultNameOffset, getDefaultPrefix, setDefaultNameOffset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPLATE_PATH

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

SpringWebappPlugin

public SpringWebappPlugin()
Method Detail

execute

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

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

getLongDescription

public java.lang.String getLongDescription()

getName

public java.lang.String getName()

getShortDescription

public java.lang.String getShortDescription()

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


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