org.apache.muse.ws.notification
Interface PullPointDataStore

All Superinterfaces:
Initialization, Shutdown
All Known Implementing Classes:
SimplePullPointDataStore

public interface PullPointDataStore
extends Initialization, Shutdown

PullPointDataStore is an interface to a persistent data store that is used by pullpoint resources to keep messages until they are retrieved using the PullPoint.getMessages() method.

Author:
Dan Jemiolo (danj)

Method Summary
 void addMessage(NotificationMessage message)
           
 NotificationMessage[] getMessages(int maxNumber)
           
 
Methods inherited from interface org.apache.muse.core.Initialization
hasBeenInitialized, initialize
 
Methods inherited from interface org.apache.muse.core.Shutdown
hasBeenShutdown, shutdown
 

Method Detail

addMessage

void addMessage(NotificationMessage message)
                throws BaseFault
Throws:
BaseFault

getMessages

NotificationMessage[] getMessages(int maxNumber)
                                  throws UnableToGetMessagesFault
Parameters:
maxNumber - The maximum number of messages that should be returned by the method.
Returns:
Zero or more messages (with a maximum specified by the parameter) that have been stored by the pullpoint. Once the messages are returned in this operation, they should not be included in responses to future requests.
Throws:
UnableToGetMessagesFault


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.