Delegate AtmosphereResource's creation to the ObjectFactory