public IdentityFactoryImpl(PersistenceBroker broker)
{
this.broker = broker;
this.objectToIdentityMap = new ReferenceIdentityMap(ReferenceIdentityMap.WEAK, ReferenceIdentityMap.HARD, true);
this.transientSequenceManager = new SequenceManagerTransientImpl(broker);
broker.addListener(this, true);
}