refactoring: moved resourceType to abstractAdapter