toolbox.servicegen
Interface ServiceGenModule
- All Known Implementing Classes:
- DaoServiceGenModule
public interface ServiceGenModule
Interface that defines a generic service generation module. Implementations
of this interface will handle all code generation tasks related to
creating a service.
Method Summary |
void |
generateService(java.lang.String templateDir,
java.lang.String javaDir,
java.lang.String svcDir,
java.lang.String def)
Method to handle the generation of the service. |
generateService
void generateService(java.lang.String templateDir,
java.lang.String javaDir,
java.lang.String svcDir,
java.lang.String def)
throws java.lang.Exception
- Method to handle the generation of the service.
- Parameters:
templateDir
- String indicating the path where the generation
templates are located.javaDir
- String indicating the path where generated java code
will be written.svcDir
- String indicating the path where generated
configurations will be written.def
- String containing the path to the definition file.
- Throws:
java.lang.Exception
- if the generation cannot be performed.