net.sf.infrared.agent.jdbcstats
Class NullIdMapper

java.lang.Object
  extended bynet.sf.infrared.agent.jdbcstats.NullIdMapper
All Implemented Interfaces:
IdMapper

public class NullIdMapper
extends Object
implements IdMapper

Implentation of IdMapper that does not maintain a map and thus returns the same id that is passed in.


Constructor Summary
NullIdMapper()
           
 
Method Summary
static NullIdMapper getInstance()
           
 Long getMappedId(Long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullIdMapper

public NullIdMapper()
Method Detail

getMappedId

public Long getMappedId(Long id)
Specified by:
getMappedId in interface IdMapper

getInstance

public static NullIdMapper getInstance()