org.ow2.jonas.generators.genclientstub.generator
Class GeneratorFactory

java.lang.Object
  extended by org.ow2.jonas.generators.genclientstub.generator.GeneratorFactory
All Implemented Interfaces:
GeneratorFactory

public class GeneratorFactory
extends Object
implements GeneratorFactory

A GeneratorFactory has to be extended by specific generation mecanism.

Author:
Florent Benoit

Method Summary
 Config getConfiguration()
          Get the Configuration to use with newly created Generator.
static GeneratorFactory getInstance()
          Returns the unique GeneratorFactory instance.
 void setConfiguration(Config config)
          Set the Configuration to use with newly created Generator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GeneratorFactory getInstance()
Returns the unique GeneratorFactory instance.

Returns:
the unique GeneratorFactory instance.

setConfiguration

public void setConfiguration(Config config)
Set the Configuration to use with newly created Generator.

Specified by:
setConfiguration in interface GeneratorFactory
Parameters:
config - the Configuration to use with newly created Generator.

getConfiguration

public Config getConfiguration()
Get the Configuration to use with newly created Generator.

Specified by:
getConfiguration in interface GeneratorFactory
Returns:
the Configuration to use with newly created Generator


Copyright © 2010 OW2 Consortium. All Rights Reserved.