Enhancements of Resource abstraction.

Introduced Resource and Resources value objects. The former captures single entity instances but adds links to it. The latter does the same for a collection of entities. Added SPI interfaces ResourcePostProcessor and ResourcesPostProcessor to allow manipulating Resource and Resources instances.
This commit is contained in:
Oliver Gierke
2012-08-07 19:16:51 +02:00
parent cdc9ec9bfa
commit ca57ed440d
7 changed files with 238 additions and 1 deletions

View File

@@ -58,6 +58,7 @@
<properties>
<spring.version>3.1.2.RELEASE</spring.version>
<jackson.version>1.9.7</jackson.version>
<bundlor.failOnWarnings>true</bundlor.failOnWarnings>
</properties>
@@ -73,12 +74,20 @@
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>${jackson.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>