|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RMStore
Method Summary | |
---|---|
void |
createDestinationSequence(DestinationSequence seq)
Create a destination sequence in the persistent store, with the sequence attributes as specified in the RMSDestinationSequence object. |
void |
createSourceSequence(SourceSequence seq)
Create a source sequence in the persistent store, with the sequence attributes as specified in the RMSourceSequence object. |
Collection<DestinationSequence> |
getDestinationSequences(String endpointIdentifier)
Retrieves all sequences managed by the identified RM destination endpoint from persistent store. |
Collection<RMMessage> |
getMessages(Identifier sid,
boolean outbound)
Retrieves the outbound/inbound messages stored for the source/destination sequence with the given identifier. |
Collection<SourceSequence> |
getSourceSequences(String endpointIdentifier)
Retrieves all sequences managed by the identified RM source endpoint from persistent store. |
void |
persistIncoming(DestinationSequence seq,
RMMessage msg)
Called by an RM source upon processing an outbound message. |
void |
persistOutgoing(SourceSequence seq,
RMMessage msg)
Called by an RM source upon processing an outbound message. |
void |
removeDestinationSequence(Identifier seq)
Remove the destination sequence with the specified identifier from persistent store. |
void |
removeMessages(Identifier sid,
Collection<BigInteger> messageNrs,
boolean outbound)
Removes the messages with the given message numbers and identifiers from the store of outbound/inbound messages. |
void |
removeSourceSequence(Identifier seq)
Remove the source sequence with the specified identifier from persistent store. |
Method Detail |
---|
void createSourceSequence(SourceSequence seq)
RMSourceSequence
object.
seq
- the sequencevoid createDestinationSequence(DestinationSequence seq)
RMSDestinationSequence
object.
seq
- the sequencevoid removeSourceSequence(Identifier seq)
seq
- the sequencevoid removeDestinationSequence(Identifier seq)
seq
- the sequenceCollection<SourceSequence> getSourceSequences(String endpointIdentifier)
endpointIdentifier
- the identifier for the source
Collection<DestinationSequence> getDestinationSequences(String endpointIdentifier)
endpointIdentifier
- the identifier for the destination
Collection<RMMessage> getMessages(Identifier sid, boolean outbound)
sid
- the source sequence identifieroutbound
- true if the message is outbound
void persistOutgoing(SourceSequence seq, RMMessage msg)
RMMessage
parameter is null for non application (RM protocol) messages.
seq
- the source sequencemsg
- the outgoing messagevoid persistIncoming(DestinationSequence seq, RMMessage msg)
RMMessage
parameter is null for non application (RM protocol) messages.
seq
- the destination sequencemsg
- the incoming messagevoid removeMessages(Identifier sid, Collection<BigInteger> messageNrs, boolean outbound)
sid
- the identifier of the source sequencemessageNrs
- the collection of message numbersoutbound
- true if the message is outbound
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |