@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(org.fcrepo.kernel.observer.FedoraEvent 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()
@PreDestroy public void shutDown()
public void newEvent(org.fcrepo.kernel.observer.FedoraEvent event)
event - Copyright © 2013–2014 DuraSpace, Inc.. All rights reserved.