@Component
public class RSSPublisher
extends org.fcrepo.http.commons.AbstractResource
| Constructor and Description |
|---|
RSSPublisher() |
| Modifier and Type | Method and Description |
|---|---|
StreamSource |
getFeed()
Get the RSS feed
|
void |
initialize()
Engage the eventbus listener and set basic feed properties
|
void |
newEvent(javax.jcr.observation.Event event)
When a new event is received, add it to the buffer.
|
void |
shutDown()
Remove our EventBus listener
|
public StreamSource getFeed() throws com.sun.syndication.io.FeedException
com.sun.syndication.io.FeedException@PostConstruct public void initialize()
initialize in class org.fcrepo.http.commons.AbstractResource@PreDestroy public void shutDown()
public void newEvent(javax.jcr.observation.Event event)
event - Copyright © 2013 DuraSpace, Inc.. All rights reserved.