generates a new id to be applied to the specified session instance . this method is usually calledfrom within a subclass 's #docreate implementation where they assign the returned id to the sessioninstance and then create a record with this id in the eis data store . subclass implementations backed by eis data stores that auto-generate ids during record creation , such as relational databases , do n't need to use this method or the #getsessionidgenerator sessionidgenerator attribute - they can simply return the data store 's generated id from the #docreate implementationif desired . this implementation uses the #setsessionidgenerator configured sessionidgenerator to createthe id . concode_field_sep SessionIdGenerator sessionIdGenerator concode_field_sep void verifySessionId concode_elem_sep Serializable doCreate concode_elem_sep void setSessionIdGenerator concode_elem_sep SessionIdGenerator getSessionIdGenerator concode_elem_sep Serializable create concode_elem_sep Session doReadSession concode_elem_sep Session readSession concode_elem_sep void assignSessionId
Serializable function ( Session arg0 ) { if ( this . sessionIdGenerator == null ) { String loc0 = "srini_string" ; throw new IllegalStateException ( loc0 ) ; } return this . sessionIdGenerator . generateId ( arg0 ) ; }