public interface ObjectStoringStrategy
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Object obj)
Similar to ObjectMarshallingStrategy, it is used to
decide whether this implementation is going to work for
the given Object.
|
Object |
persist(Object persistable)
Returns the key for the persisted object.
|
Object |
read(Object key)
Returns the persisted object.
|
Object |
update(Object persistable)
Returns the key for the persisted object.
|
boolean accept(Object obj)
obj
- a given objectObject persist(Object persistable)
persistable
- the object to persist.Object update(Object persistable)
persistable
- the object to persist.Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.