org.e2etrace.trace
Class DefaultTraceStepFactory

java.lang.Object
  extended by org.e2etrace.trace.DefaultTraceStepFactory
All Implemented Interfaces:
ITraceStepFactory

public class DefaultTraceStepFactory
extends Object
implements ITraceStepFactory

Default Factory class for trace steps.

Author:
Gunther Popp

Constructor Summary
DefaultTraceStepFactory()
          Default constructor.
DefaultTraceStepFactory(ITimerFactory timerFactory)
          Constructor: Use a custom timer factory.
 
Method Summary
 ITraceStep newInstance(ITraceStepId id)
          Returns a new trace step instance using the given id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTraceStepFactory

public DefaultTraceStepFactory()
Default constructor.

A factory created with this constructor uses DefaultTimerFactor as timer factories.


DefaultTraceStepFactory

public DefaultTraceStepFactory(ITimerFactory timerFactory)
Constructor: Use a custom timer factory.

Parameters:
timerFactory - custom timer factory
Method Detail

newInstance

public ITraceStep newInstance(ITraceStepId id)
Returns a new trace step instance using the given id.

Specified by:
newInstance in interface ITraceStepFactory
Parameters:
id - if of the new trace step
Returns:
Trace step instance


Copyright © 2013 Gunther Popp. All Rights Reserved.