Should not depend on a concrete class but an interface (DefaultXaSessionResourceProducer)