net.java.dev.moskito.core.stats.impl
Class AbstractValueHolderFactory

java.lang.Object
  extended by net.java.dev.moskito.core.stats.impl.AbstractValueHolderFactory
All Implemented Interfaces:
IValueHolderFactory
Direct Known Subclasses:
IntValueHolderFactory, LongValueHolderFactory

abstract class AbstractValueHolderFactory
extends Object
implements IValueHolderFactory

This is the abstract super class of all concrete factories that create new ValueHolder instances.

Author:
dvayanu
See Also:
AbstractValueHolder, Interval, IValueHolderFactory

Constructor Summary
AbstractValueHolderFactory()
           
 
Method Summary
 AbstractValueHolder createValueHolder(Interval aInterval)
          This method creates a new ValueHolder instance for the given Interval.
protected abstract  AbstractValueHolder createValueHolderObject(Interval aInterval)
          This method creates the new ValueHolder instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractValueHolderFactory

AbstractValueHolderFactory()
Method Detail

createValueHolderObject

protected abstract AbstractValueHolder createValueHolderObject(Interval aInterval)
This method creates the new ValueHolder instance.

Parameters:
aInterval - the Interval to be used
Returns:
the new ValueHolder instance

createValueHolder

public final AbstractValueHolder createValueHolder(Interval aInterval)
Description copied from interface: IValueHolderFactory
This method creates a new ValueHolder instance for the given Interval.

Specified by:
createValueHolder in interface IValueHolderFactory
Parameters:
aInterval - the Interval to be used
Returns:
the new ValueHolder instance
See Also:
net.java.dev.moskito.core.stats.IValueHolderFactory#createValueHolder(net.java.dev.moskito.core.stats.impl.IntervalImpl)


Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework