Added configuration property for domain type to repository mappings. Also improved the post-processing support, though I think there's still some room for tweaking.

This commit is contained in:
Jon Brisbin
2012-08-20 15:06:15 -05:00
committed by Jon Brisbin
parent 2000d07b32
commit 3aa8905b15
10 changed files with 210 additions and 68 deletions

View File

@@ -1,5 +1,7 @@
package org.springframework.data.rest.core;
import org.springframework.http.server.ServerHttpRequest;
/**
* Implementations of this interface will post-process objects to mutate them in ways meaningful to the context in
* which they are called.
@@ -13,6 +15,6 @@ public interface PostProcessor<T> {
*
* @param obj
*/
T postProcess(T obj);
T postProcess(ServerHttpRequest request, T obj);
}