pt.ist.fenixframework.core
Class FullPostProcessDomainClasses

Package class diagram package FullPostProcessDomainClasses
java.lang.Object
  extended by pt.ist.fenixframework.core.FullPostProcessDomainClasses

public class FullPostProcessDomainClasses
extends Object

This class aggregates the whole post-processing required on the domain classes.


Constructor Summary
FullPostProcessDomainClasses()
           
 
Method Summary
static void apply(String projectName, File classesDirectory, ClassLoader parentClassLoader)
          Programmatic API to start the full post-processing.
static void main(String[] args)
          Command-line API to start the full post-processing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullPostProcessDomainClasses

public FullPostProcessDomainClasses()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Command-line API to start the full post-processing.

Parameters:
args - Expected values are:
  • -pn <projectName>: the name of the project being post-processed. This is used to locate the <projectName>/project.properties file;
  • -cd <classesDirectory>: single directory with the compiled classes. All classes here will be post-processed if required.
Throws:
Exception

apply

public static void apply(String projectName,
                         File classesDirectory,
                         ClassLoader parentClassLoader)
                  throws Exception
Programmatic API to start the full post-processing.

Parameters:
projectName - the name of the project being post-processed. This is used to locate the <projectName>/project.properties file
classesDirectory - single directory with the compiled classes. All classes here will be post-processed if required.
parentClassLoader - the class loader on which to delegate the loading of classes
Throws:
Exception


Copyright © 2013. All Rights Reserved.