Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

    public void addMessage(NotificationMessage message)
                    throws BaseFault

  Throws:
    `BaseFault`

### getMessages

    public 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`

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD