net.sf.infrared.agent.jdbcstats
Class NullIdMapper
java.lang.Object
net.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullIdMapper
public NullIdMapper()
getMappedId
public Long getMappedId(Long id)
- Specified by:
getMappedId in interface IdMapper
getInstance
public static NullIdMapper getInstance()