public interface OddjobPersister
ComponentPersister
for the underlying framework to use.
Most implementations will be hierarchical, taking advantage of the id to
create a path by which to persist components.
Oddjob achieves the hierarchical effect by inspecting
any ComponentPersister passed down from a parent Oddjob. If it is of
this type the persisterFor(String)
method will be
called to get the new ComponentPersister. For this reason an
OddjobPersister that wants to be hierarchical must provide a
ComponentPersister that is also an OddjobPersister.
PersisterBase
Modifier and Type | Method and Description |
---|---|
ComponentPersister |
persisterFor(java.lang.String id)
Provide a ComponentPersiter which may or may not require the id.
|
ComponentPersister persisterFor(java.lang.String id)
id
- An Id which may be used for a path. May be Null.