|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.narada.wsinfra.wsrm.storage.impl.WsrmSequenceInfoStorageOperationsImpl
Title: WsrmSequenceInfoStorageOperationsImpl
Description: Handles Sequence Info Storage operations
| Constructor Summary | |
WsrmSequenceInfoStorageOperationsImpl()
|
|
WsrmSequenceInfoStorageOperationsImpl(Connection connection)
|
|
| Method Summary | |
void |
addDestinationSequenceIdentifierPair(String destination,
String sequenceIdentifier)
Stores the sequence identifier that should be used while communicating with a given destination (based on the contents of the wsa:To element). |
String |
getDestinationForSequenceIdentifier(String sequenceIdentifier)
Retrieves the destination for a specific sequence identifier |
String[] |
getListOfActiveSequences(boolean source)
Retrieves the list of active sent/received sequences that are currently available at this node. |
String[] |
getListOfAllSequences(boolean source)
Retrieves the entire list of sent/received sequence identifiers registered with the underlying service. |
String[] |
getListOfExpiredSequences(boolean source)
Retrieves the list of sent/received sequences that have expired. |
String[] |
getListOfServicedSequences(boolean source)
Retrieves the list of sent/received sequences that have been acknowledged and were successfully terminated. |
String[] |
getListOfTerminatedSequences(boolean source)
Retrieves the list of sent/received sequences that have terminated. |
String[] |
getListOfTimedOutSequences(boolean source)
Retrieves the list of sent/received sequences that have timed-out. |
String |
getSequenceIdentifierForDestination(String destination)
Retrieve the sequence identifier for a specific destination |
WsrmSequenceInfo |
getSequenceInfoUsingAddressingIdentifier(String addressingIdentifier)
Retrieves the SequenceInfo corresponding to the specified addressingIdentifier. |
WsrmSequenceInfo |
getSequenceInfoUsingSequenceIdentifier(String sequenceIdentifier)
Retrieves the SequenceInfo corresponding to the specified sequenceIdentifier. |
WsrmSequenceInfo[] |
getSequenceInfoUsingSequencePrefix(String sequenceIdentifier)
Retrieves the SequenceInfo corresponding to the ACTIVE sequences with the specified sequenceIdentifier prefix. |
boolean |
hasSequenceIdForDestination(String destination)
Checks to see if there is a sequenceId/destination pair corresponding to the destination in question. |
boolean |
isKnownSequence(String sequenceIdentifier)
A method which checks whether a certain sequence (irrespective of whether it is active/terminated/expired/timed-out) is a known sequence at this node |
static void |
main(String[] args)
|
void |
removeDestinationSequenceIdentifierPair(String destination)
Removes the destination/sequence identifier pair corresponding to this destination |
void |
storeCreatedSequence(WsrmSequenceInfo sequenceInfo)
Store a SequenceInfo object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WsrmSequenceInfoStorageOperationsImpl()
public WsrmSequenceInfoStorageOperationsImpl(Connection connection)
| Method Detail |
public void addDestinationSequenceIdentifierPair(String destination,
String sequenceIdentifier)
throws WsrmStorageException
addDestinationSequenceIdentifierPair in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public String getSequenceIdentifierForDestination(String destination)
throws WsrmStorageException
getSequenceIdentifierForDestination in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public String getDestinationForSequenceIdentifier(String sequenceIdentifier)
throws WsrmStorageException
getDestinationForSequenceIdentifier in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public void removeDestinationSequenceIdentifierPair(String destination)
throws WsrmStorageException
removeDestinationSequenceIdentifierPair in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public boolean hasSequenceIdForDestination(String destination)
throws WsrmStorageException
hasSequenceIdForDestination in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public boolean isKnownSequence(String sequenceIdentifier)
throws WsrmStorageException
isKnownSequence in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public void storeCreatedSequence(WsrmSequenceInfo sequenceInfo)
throws WsrmStorageException
storeCreatedSequence in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public WsrmSequenceInfo getSequenceInfoUsingSequenceIdentifier(String sequenceIdentifier)
throws WsrmStorageException
getSequenceInfoUsingSequenceIdentifier in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public WsrmSequenceInfo[] getSequenceInfoUsingSequencePrefix(String sequenceIdentifier)
throws WsrmStorageException
getSequenceInfoUsingSequencePrefix in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public WsrmSequenceInfo getSequenceInfoUsingAddressingIdentifier(String addressingIdentifier)
throws WsrmStorageException
getSequenceInfoUsingAddressingIdentifier in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public String[] getListOfAllSequences(boolean source)
throws WsrmStorageException
getListOfAllSequences in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public String[] getListOfExpiredSequences(boolean source)
throws WsrmStorageException
getListOfExpiredSequences in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public String[] getListOfTimedOutSequences(boolean source)
throws WsrmStorageException
getListOfTimedOutSequences in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public String[] getListOfTerminatedSequences(boolean source)
throws WsrmStorageException
getListOfTerminatedSequences in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public String[] getListOfServicedSequences(boolean source)
throws WsrmStorageException
getListOfServicedSequences in interface WsrmSequenceInfoStorageOperationsWsrmStorageException
public String[] getListOfActiveSequences(boolean source)
throws WsrmStorageException
getListOfActiveSequences in interface WsrmSequenceInfoStorageOperationsWsrmStorageExceptionpublic static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||