diff options
author | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-21 10:34:37 +0000 |
---|---|---|
committer | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-21 10:34:37 +0000 |
commit | 5b4d883b3d365e151392872ed3a2897622c8e159 (patch) | |
tree | 6172c918d9485025d3f1a58fc6beb44e8d46d76f /branches/sca-java-1.x/modules/binding-rss-rome/src/main/java | |
parent | b17facb628587573b6a08f43e315ac17df17d7a2 (diff) |
TUSCANY-3113 - Added get() method to the rss.Collections interface as this is the method that the RSSBindingListenerServlet class is looking for to see if the Java component implementation class supports RSS feeds.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@786986 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/binding-rss-rome/src/main/java')
-rw-r--r-- | branches/sca-java-1.x/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/collection/Collection.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/collection/Collection.java b/branches/sca-java-1.x/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/collection/Collection.java index bb8dab391b..ed86dc4848 100644 --- a/branches/sca-java-1.x/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/collection/Collection.java +++ b/branches/sca-java-1.x/modules/binding-rss-rome/src/main/java/org/apache/tuscany/sca/binding/rss/collection/Collection.java @@ -20,6 +20,7 @@ package org.apache.tuscany.sca.binding.rss.collection; import org.osoa.sca.annotations.Remotable; +import com.sun.syndication.feed.synd.SyndEntry; import com.sun.syndication.feed.synd.SyndFeed; @@ -46,4 +47,12 @@ public interface Collection { */ SyndFeed query(String queryString); + /** + * Retrieves an RSS entry. + * + * @param id The entry ID + * @return The requested entry + * @throws NotFoundException No entry found with the given ID + */ + SyndEntry get(String id) throws NotFoundException; } |