org.milyn.javabean.gen
Class ConfigGenerator

java.lang.Object
  extended by org.milyn.javabean.gen.ConfigGenerator

public class ConfigGenerator
extends Object

Java binding configuration template generator.

Usage

From the commandline:
 $JAVA_HOME/bin/java -classpath <classpath> org.milyn.javabean.gen.ConfigGenerator -c <rootBeanClass> -o <outputFilePath> [-p <propertiesFilePath>]
 

The optional "-p" properties file parameter allows specification of additional config parameters:

Author:
tom.fennelly@gmail.com

Field Summary
static String PACKAGES_EXCLUDED
           
static String PACKAGES_INCLUDED
           
static String ROOT_BEAN_CLASS
           
 
Constructor Summary
ConfigGenerator(Properties bindingProperties, Writer outputWriter)
           
 
Method Summary
 void generate()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT_BEAN_CLASS

public static final String ROOT_BEAN_CLASS
See Also:
Constant Field Values

PACKAGES_INCLUDED

public static final String PACKAGES_INCLUDED
See Also:
Constant Field Values

PACKAGES_EXCLUDED

public static final String PACKAGES_EXCLUDED
See Also:
Constant Field Values
Constructor Detail

ConfigGenerator

public ConfigGenerator(Properties bindingProperties,
                       Writer outputWriter)
                throws ClassNotFoundException
Throws:
ClassNotFoundException
Method Detail

main

public static void main(String[] args)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

generate

public void generate()
              throws IOException
Throws:
IOException


Copyright © 2018. All rights reserved.