pt.ist.fenixframework.core
Class FullPostProcessDomainClasses
java.lang.Object
pt.ist.fenixframework.core.FullPostProcessDomainClasses
public class FullPostProcessDomainClasses
- extends Object
This class aggregates the whole post-processing required on the domain classes.
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 |
FullPostProcessDomainClasses
public FullPostProcessDomainClasses()
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
fileclassesDirectory
- 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.