|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebmwebsourcing.wsstar.notification.service.persistance.WsnPersistance
public class WsnPersistance
The persistence manager used to persist topics and subscription so that they can be reloaded when needed.
| Constructor Summary | |
|---|---|
WsnPersistance(java.io.File path)
|
|
| Method Summary | |
|---|---|
void |
cleanSubscriptions(javax.xml.namespace.QName topicName)
Clean all the subscriptions persistence files in the subscription folder |
boolean |
delete(java.lang.String topicName)
Delete the topic folder persistence |
boolean |
delete(com.ebmwebsourcing.wsstar.notification.definition.base.SubscriptionManagerRP subscription)
Delete a subscription persistence file |
java.util.List<org.apache.axiom.soap.SOAPEnvelope> |
getSubscriptionEnvelopesForTopic(javax.xml.namespace.QName topicName)
|
void |
persist(com.ebmwebsourcing.wsstar.notification.definition.base.SubscriptionManagerRP subscription)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WsnPersistance(java.io.File path)
path - The root folder of the persistence. The folder is created if
it do not exists.| Method Detail |
|---|
public void persist(com.ebmwebsourcing.wsstar.notification.definition.base.SubscriptionManagerRP subscription)
throws java.lang.Exception
subscription -
java.lang.Exception
public boolean delete(com.ebmwebsourcing.wsstar.notification.definition.base.SubscriptionManagerRP subscription)
throws java.lang.Exception
subscription -
java.lang.Exceptionpublic boolean delete(java.lang.String topicName)
topicName -
public java.util.List<org.apache.axiom.soap.SOAPEnvelope> getSubscriptionEnvelopesForTopic(javax.xml.namespace.QName topicName)
topicName -
public void cleanSubscriptions(javax.xml.namespace.QName topicName)
topicName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||