|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - public interface IDetachCodec<T>
A codec used to convert an object between its attached and detached representations. Detached representation should be something small so it is suitable for storage inside session. For example, in a database entity the detached state would be the primary key of that entity.
| Method Summary | |
|---|---|
T |
attach(java.io.Serializable detached)
Converts an object into its attached representation. |
java.io.Serializable |
detach(T object)
Converts an object to its detached representation |
| Method Detail |
|---|
java.io.Serializable detach(T object)
object -
objectT attach(java.io.Serializable detached)
detach(Object) method to obtain the detached state.
detached - detached representation obtained via a previous call to
detach(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||