com.google.code.jetm.reporting.ext
Class PointFactory

java.lang.Object
  extended by com.google.code.jetm.reporting.ext.PointFactory

public class PointFactory
extends Object

A factory to create EtmMonitor objects. This is to help eliminate annoying error messages when the monitor is used to create points and no monitor has been started.

Author:
JH016266

Constructor Summary
PointFactory()
           
 
Method Summary
static etm.core.monitor.EtmPoint getPoint(Class<?> pointOwner, String methodSignature)
          Create a point used for measurement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointFactory

public PointFactory()
Method Detail

getPoint

public static etm.core.monitor.EtmPoint getPoint(Class<?> pointOwner,
                                                 String methodSignature)
Create a point used for measurement.

Parameters:
pointOwner - The Class of the class that owns the requested point instance.
methodSignature - The signature of the method in which the point is being used.
Returns:
An EtmPoint.


Copyright © 2011. All Rights Reserved.