@Deprecated public class JPADAO extends Object implements HubDAO
Constructor and Description |
---|
JPADAO(javax.persistence.EntityManagerFactory factory,
boolean purgeExpired)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Subscriber |
addSubscriber(Subscriber subscriber)
Deprecated.
|
Subscriber |
findSubscriber(String topic,
String callbackUrl)
Deprecated.
|
void |
handleSummary(String topic,
SubscriptionSummary summary)
Deprecated.
|
void |
removeSubscriber(String topic,
String callback)
Deprecated.
|
List<? extends Subscriber> |
subscribersForTopic(String topic)
Deprecated.
|
List<? extends SubscriptionSummary> |
summariesForTopic(String topic)
Deprecated.
|
public JPADAO(javax.persistence.EntityManagerFactory factory, boolean purgeExpired)
public List<? extends Subscriber> subscribersForTopic(String topic)
subscribersForTopic
in interface HubDAO
public Subscriber addSubscriber(Subscriber subscriber)
addSubscriber
in interface HubDAO
public Subscriber findSubscriber(String topic, String callbackUrl)
findSubscriber
in interface HubDAO
public void handleSummary(String topic, SubscriptionSummary summary)
handleSummary
in interface HubDAO
public List<? extends SubscriptionSummary> summariesForTopic(String topic)
summariesForTopic
in interface HubDAO
public void removeSubscriber(String topic, String callback)
removeSubscriber
in interface HubDAO
Copyright © 2021. All rights reserved.