org.jaffa.tools.patternmetaengine
Class AppBuilder

java.lang.Object
  extended byorg.jaffa.tools.patternmetaengine.AppBuilder

public class AppBuilder
extends Object

This is the core utility that will generate a complete CRUD application from a domain object model.

  1. . The process is as follows, all domain object are read in from the list of domain object paths.
  2. . The app builder descriptor list the modules that should be generated.
  3. . The first pass at building the components will build each component type for all modules.
  4. . Currently this means all finders, the viewers, then maintenace, then lookups. (This order is controlled by the static variables, so it can be changed later)
  5. . A second pass though all the components will be made in the above sequence. This second pass is used to link components together that were generated in the inital pass.
  6. . All component meta data files will then be written out.
Note: During both passes for each module, the label will be updated, if required

Version:
1.0
Author:
PaulE

Constructor Summary
AppBuilder(String name)
          Creates a new instance of AppBuilder
 
Method Summary
static void main(String[] args)
          Command line entry point for the utility
 void process()
          Invokes the start of the pattern generation process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppBuilder

public AppBuilder(String name)
Creates a new instance of AppBuilder

Parameters:
name - The name of the config file that describes how to build the application
Method Detail

process

public void process()
Invokes the start of the pattern generation process


main

public static void main(String[] args)
Command line entry point for the utility

Parameters:
args - The command line arguments.
Must supply the following ...
[0] = Location of AppBuilder XML Descriptor


Copyright © 2002-2004 JAFFA Project.