Skip to content

Commit

Permalink
make the rss and webhoooks resources spring componentized
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Jun 11, 2013
1 parent 116c766 commit c8da1d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Expand Up @@ -8,10 +8,12 @@
import org.fcrepo.api.rdf.UriAwareResourceModelFactory;
import org.fcrepo.rdf.GraphSubjects;
import org.fcrepo.utils.FedoraJcrTypes;
import org.springframework.stereotype.Component;

import javax.jcr.RepositoryException;
import javax.ws.rs.core.UriInfo;

@Component
public class RssResources implements UriAwareResourceModelFactory {
@Override
public Model createModelForResource(FedoraResource resource, UriInfo uriInfo, GraphSubjects graphSubjects) throws RepositoryException {
Expand Down
Expand Up @@ -8,10 +8,12 @@
import org.fcrepo.api.rdf.UriAwareResourceModelFactory;
import org.fcrepo.rdf.GraphSubjects;
import org.fcrepo.utils.FedoraJcrTypes;
import org.springframework.stereotype.Component;

import javax.jcr.RepositoryException;
import javax.ws.rs.core.UriInfo;

@Component
public class WebhooksResources implements UriAwareResourceModelFactory {
@Override
public Model createModelForResource(FedoraResource resource, UriInfo uriInfo, GraphSubjects graphSubjects) throws RepositoryException {
Expand Down

0 comments on commit c8da1d6

Please sign in to comment.