org.jvnet.hk2.generator.internal
Class GeneratorRunner

java.lang.Object
  extended by org.jvnet.hk2.generator.internal.GeneratorRunner

public class GeneratorRunner
extends Object

Author:
jwells

Constructor Summary
GeneratorRunner(String fileOrDirectory, String outjarName, String locatorName, boolean verbose, String searchPath, boolean noSwap)
          This initializes the GeneratorRunner with the values needed to run
 
Method Summary
 void go()
          Does the work of writing out the inhabitants file to the proper location
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratorRunner

public GeneratorRunner(String fileOrDirectory,
                       String outjarName,
                       String locatorName,
                       boolean verbose,
                       String searchPath,
                       boolean noSwap)
This initializes the GeneratorRunner with the values needed to run

Parameters:
fileOrDirectory - The fileOrDirectory to inspect for services
outjarName - The name of the jar file to create (can be the fileOrDirectory)
locatorName - The name of the locator these files should be put into
verbose - true if this should print information about progress
searchPath - The path-separator delimited list of files or directories to search for contracts and qualifiers and various other annotations
Method Detail

go

public void go()
        throws AssertionError,
               IOException
Does the work of writing out the inhabitants file to the proper location

Throws:
AssertionError - On an error such as not being able to find the proper file
IOException - On IO error


Copyright © 2013 Oracle Corporation. All Rights Reserved.