com.sun.enterprise.tools.classmodel
Class InhabitantsGenerator
java.lang.Object
com.sun.enterprise.tools.classmodel.Constants
com.sun.enterprise.tools.classmodel.InhabitantsGenerator
public class InhabitantsGenerator
- extends Constants
Generates /META-INF/inhabitants/* based on comma-delimited list
of jars and directories passed in as arguments.
- Author:
- Jeff Trent
- See Also:
InhabitantFileBasedParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InhabitantsGenerator
public InhabitantsGenerator(InhabitantsDescriptor descriptor,
ClassPath inhabitantsSourceFiles,
ClassPath inhabitantsClassPath)
- Construction with all of the parameters needed to generate.
- Parameters:
descriptor
- optionally a preconfigured inhabitants descriptorinhabitantsSourceFiles
- required set of inhabitants source files (directories | jars)inhabitantsClassPath
- the fully qualified classpath in order to resolve class-model
generate
public void generate(File targetInhabitantFile,
boolean sort)
throws IOException
- Throws:
IOException
generate
public void generate(PrintWriter writer)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2013 Oracle Corporation. All Rights Reserved.