org.springframework.webflow.util
Interface UidGenerator

All Known Implementing Classes:
RandomGuidUidGenerator

public interface UidGenerator

A strategy for generating ids for uniquely identifying execution artifacts such as FlowExecutions and any other uniquely identified flow artifact.

Author:
Keith Donald

Method Summary
 java.io.Serializable generateUid()
          Generate a new unique id.
 java.io.Serializable parseUid(java.lang.String encodedUid)
          Convert the string-encoded uid into its original object form.
 

Method Detail

generateUid

java.io.Serializable generateUid()
Generate a new unique id.

Returns:
a serializable id, guaranteed to be unique in some context

parseUid

java.io.Serializable parseUid(java.lang.String encodedUid)
Convert the string-encoded uid into its original object form.

Parameters:
encodedUid - the string encoded uid
Returns:
the converted uid


Copyright © 2004-2007. All Rights Reserved.