com.triactive.jdo.enhance
Class SunReferenceEnhancer

java.lang.Object
  extended by com.triactive.jdo.enhance.Enhancer
      extended by com.triactive.jdo.enhance.SunReferenceEnhancer

public class SunReferenceEnhancer
extends Enhancer

This is an implementation of the Enhancer that wraps Sun's JDO Reference Implementation class endhancer.


Method Summary
protected  int callExternalEnhancer(java.lang.String[] classNames)
          This method accepts a list of jdo files that should be enhanced by the Sun Reference Implementation enhancer.
static void main(java.lang.String[] args)
          Called when the class is invoked from the command line.
 
Methods inherited from class com.triactive.jdo.enhance.Enhancer
enhance, getOrderedClassNames, writeClassListFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

callExternalEnhancer

protected int callExternalEnhancer(java.lang.String[] classNames)
                            throws java.lang.Exception
This method accepts a list of jdo files that should be enhanced by the Sun Reference Implementation enhancer.

Specified by:
callExternalEnhancer in class Enhancer
Parameters:
classNames - The list of class names to be enhanced
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Called when the class is invoked from the command line.

Parameters:
args - A list of JDO metadata files (*.jdo files). The list may optionally be prefixed by a -l flag followed by the name of a file to which the list of enhanced classes will be written to. The -d argument is also accepted to specify the destination directory to write the class files to. The -v flag makes the enhancer run with verbose output.
Throws:
java.lang.Exception


Copyright ? 2001 TriActive, Inc. All Rights Reserved.