@Override
	protected Object fetchRelatedObject(RegistryEntry entry, Serializable relationId, RepositoryMethodParameterProvider parameterProvider, QueryAdapter queryAdapter) {

		String uid = getUID(entry, relationId);
		Object relatedResource = resourceMap.get(uid);
		if (relatedResource != null) {
			return relatedResource;
		}
		ResourceInformation resourceInformation = entry.getResourceInformation();
		Class<?> resourceClass = resourceInformation.getResourceClass();
		return proxyFactory.createResourceProxy(resourceClass, relationId);
	}
@ Override protected Object fetchRelatedObject ( RegistryEntry entry , Serializable relationId , RepositoryMethodParameterProvider parameterProvider , QueryAdapter queryAdapter ) { String uid = getUID ( entry , relationId ) ; Object relatedResource = resourceMap . get ( uid ) ; if ( relatedResource != null ) { return relatedResource ; } ResourceInformation resourceInformation = entry . getResourceInformation ( ) ; Class < ? > resourceClass = resourceInformation . getResourceClass ( ) ; return proxyFactory . createResourceProxy ( resourceClass , relationId ) ; }
Get relations from includes section or create a remote proxy