org.apache.savan.storage
Interface SubscriberStore

All Known Implementing Classes:
DefaultSubscriberStore

public interface SubscriberStore

Defines the Storage for storing subscribers.


Method Summary
 void delete(java.lang.String subscriberID)
          To delete a previously stored subscriber.
 void init(org.apache.axis2.context.ConfigurationContext configurationContext)
          To Initialize the storage.
 Subscriber retrieve(java.lang.String subscriberID)
          To retrieve a previously stored subscriber.
 java.util.Iterator retrieveAll()
          To retrieve all subscribers stored upto now.
 void store(Subscriber s)
          To store the subscriber.
 

Method Detail

init

public void init(org.apache.axis2.context.ConfigurationContext configurationContext)
          throws SavanException
To Initialize the storage.

Parameters:
configurationContext -
Throws:
SavanException

store

public void store(Subscriber s)
           throws SavanException
To store the subscriber.

Parameters:
s -
Throws:
SavanException

retrieve

public Subscriber retrieve(java.lang.String subscriberID)
                    throws SavanException
To retrieve a previously stored subscriber.

Parameters:
subscriberID -
Returns:
Throws:
SavanException

retrieveAll

public java.util.Iterator retrieveAll()
                               throws SavanException
To retrieve all subscribers stored upto now.

Returns:
Throws:
SavanException

delete

public void delete(java.lang.String subscriberID)
            throws SavanException
To delete a previously stored subscriber.

Parameters:
subscriberID -
Throws:
SavanException


Copyright © 2007 null. All Rights Reserved.