org.glassfish.pfl.tf.timer.spi
Class TimerPointSourceGenerator

java.lang.Object
  extended by org.glassfish.pfl.tf.timer.spi.TimerPointSourceGenerator

public class TimerPointSourceGenerator
extends Object

Used to generate a class that represents all Timers found in a TF source file. Uses the codegen library to generate the source file.


Constructor Summary
TimerPointSourceGenerator()
           
 
Method Summary
static void generateFile(String dirName, org.glassfish.pfl.basic.contain.Pair<String,TimerFactory> description)
          Generate a single class which contains: private fields for Timers and TimerGroups public accessor methods for Timers and TimerGroups A public constructor (TimerFactory) that initializes the Timer and TimerGroup fields, and the TimerGroup containment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerPointSourceGenerator

public TimerPointSourceGenerator()
Method Detail

generateFile

public static void generateFile(String dirName,
                                org.glassfish.pfl.basic.contain.Pair<String,TimerFactory> description)
                         throws IOException
Generate a single class which contains:

Parameters:
dirName -
description -
Throws:
IOException


Copyright © 2013 Oracle. All Rights Reserved.