Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert transactions to the RESTful, globbing API style
- Loading branch information
Showing
10 changed files
with
223 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
fcrepo-http-api/src/main/java/org/fcrepo/api/repository/FedoraRepositoryTransactions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.fcrepo.api.repository; | ||
|
||
import org.fcrepo.api.FedoraTransactions; | ||
import org.fcrepo.session.InjectedSession; | ||
import org.springframework.context.annotation.Scope; | ||
import org.springframework.stereotype.Component; | ||
|
||
import javax.jcr.Session; | ||
import javax.ws.rs.Path; | ||
|
||
|
||
@Component | ||
@Scope("prototype") | ||
@Path("/fcr:tx") | ||
public class FedoraRepositoryTransactions extends FedoraTransactions { | ||
|
||
@InjectedSession | ||
protected Session session; | ||
} |
Oops, something went wrong.