class ProviderBasedDataObjectService implements DataObjectService {

    @Override
    public <T> QueryResults<T> findAll(Class<T> type) {
        return persistenceProviderForType(type).findAll(type);
    }

}