protected Map<TargetType, RequestProcessor> requestProcessors = new HashMap<TargetType, RequestProcessor>();
protected AbstractProvider() {
// Setting default request processors:
this.requestProcessors.put(TargetType.TYPE_SERVICE, new ServiceRequestProcessor());
this.requestProcessors.put(TargetType.TYPE_CATEGORIES, new CategoriesRequestProcessor());
this.requestProcessors.put(TargetType.TYPE_COLLECTION, new CollectionRequestProcessor());
this.requestProcessors.put(TargetType.TYPE_ENTRY, new EntryRequestProcessor());
this.requestProcessors.put(TargetType.TYPE_MEDIA, new MediaRequestProcessor());
}