|
|||||||||
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
public class 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 WsrmSequenceInfoStorageOperations
WsrmStorageException
public String getSequenceIdentifierForDestination(String destination) throws WsrmStorageException
getSequenceIdentifierForDestination
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public String getDestinationForSequenceIdentifier(String sequenceIdentifier) throws WsrmStorageException
getDestinationForSequenceIdentifier
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public void removeDestinationSequenceIdentifierPair(String destination) throws WsrmStorageException
removeDestinationSequenceIdentifierPair
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public boolean hasSequenceIdForDestination(String destination) throws WsrmStorageException
hasSequenceIdForDestination
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public boolean isKnownSequence(String sequenceIdentifier) throws WsrmStorageException
isKnownSequence
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public void storeCreatedSequence(WsrmSequenceInfo sequenceInfo) throws WsrmStorageException
storeCreatedSequence
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public WsrmSequenceInfo getSequenceInfoUsingSequenceIdentifier(String sequenceIdentifier) throws WsrmStorageException
getSequenceInfoUsingSequenceIdentifier
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public WsrmSequenceInfo[] getSequenceInfoUsingSequencePrefix(String sequenceIdentifier) throws WsrmStorageException
getSequenceInfoUsingSequencePrefix
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public WsrmSequenceInfo getSequenceInfoUsingAddressingIdentifier(String addressingIdentifier) throws WsrmStorageException
getSequenceInfoUsingAddressingIdentifier
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public String[] getListOfAllSequences(boolean source) throws WsrmStorageException
getListOfAllSequences
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public String[] getListOfExpiredSequences(boolean source) throws WsrmStorageException
getListOfExpiredSequences
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public String[] getListOfTimedOutSequences(boolean source) throws WsrmStorageException
getListOfTimedOutSequences
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public String[] getListOfTerminatedSequences(boolean source) throws WsrmStorageException
getListOfTerminatedSequences
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public String[] getListOfServicedSequences(boolean source) throws WsrmStorageException
getListOfServicedSequences
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public String[] getListOfActiveSequences(boolean source) throws WsrmStorageException
getListOfActiveSequences
in interface WsrmSequenceInfoStorageOperations
WsrmStorageException
public static void main(String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |