public class SubscriptionNotifier extends TimerTask
Constructor and Description |
---|
SubscriptionNotifier()
default constructor
|
Modifier and Type | Method and Description |
---|---|
protected GetSubscriptionResults |
buildGetSubscriptionResults(Subscription subscription,
Date endPoint) |
boolean |
cancel() |
protected void |
deleteSubscription(Subscription subscription)
Deletes the subscription.
|
protected Collection<Subscription> |
getAllAsyncSubscriptions()
Obtains all subscriptions in the system.
|
protected UDDISubscriptionImpl |
getSubscriptionImpl() |
protected void |
notify(GetSubscriptionResults getSubscriptionResults,
SubscriptionResultsList resultList,
Date notificationDate)
Sends out the notifications.
|
protected boolean |
registryMayContainUpdates()
If the CRUD methods on the publication API where not called, this
registry node does not contain changes.
|
protected boolean |
resultListContainsChanges(SubscriptionResultsList resultList) |
void |
run() |
scheduledExecutionTime
public SubscriptionNotifier() throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
protected boolean registryMayContainUpdates()
protected GetSubscriptionResults buildGetSubscriptionResults(Subscription subscription, Date endPoint) throws DispositionReportFaultMessage, DatatypeConfigurationException
protected boolean resultListContainsChanges(SubscriptionResultsList resultList)
protected Collection<Subscription> getAllAsyncSubscriptions()
protected void deleteSubscription(Subscription subscription)
subscription
- protected void notify(GetSubscriptionResults getSubscriptionResults, SubscriptionResultsList resultList, Date notificationDate)
getSubscriptionResults
- resultList
- notificationDate
- protected UDDISubscriptionImpl getSubscriptionImpl()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.