|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.wsif.base.WSIFDefaultCorrelationService
WSIFDefaultCorrelationService provides a default implementation of a WSIFCorrelationService using a Hashmap as the backing store.
| Constructor Summary | |
WSIFDefaultCorrelationService()
WSIFCorrelationServiceLocator should be used to create a correlation service. |
|
| Method Summary | |
java.io.Serializable |
get(WSIFCorrelationId id)
Retrieves an entry (a WSIFOperation) from the correlation service. |
void |
put(WSIFCorrelationId correlator,
java.io.Serializable state,
long timeout)
Adds an entry to the correlation service. |
void |
remove(WSIFCorrelationId id)
Removes an entry form the correlation service. |
void |
shutdown()
Shutsdown the correlation service. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WSIFDefaultCorrelationService()
| Method Detail |
public void put(WSIFCorrelationId correlator,
java.io.Serializable state,
long timeout)
throws WSIFException
put in interface WSIFCorrelationServicecorrelator - the key to associate with the state. This will be
a JMS message correlation ID.state - the state to be stored. This will be a WSIFOperation.timeout - a timeout period after which the key and associated
state will be deleted from the correlation service. A
value of zero indicates there should be no timeout.
WSIFException
public java.io.Serializable get(WSIFCorrelationId id)
throws WSIFException
get in interface WSIFCorrelationServiceid - the key of the state to retrieved
WSIFException
public void remove(WSIFCorrelationId id)
throws WSIFException
remove in interface WSIFCorrelationServiceid - the key of entry to be removed
WSIFExceptionpublic void shutdown()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||