Package io.protostuff.runtime
Interface IdStrategy.Factory
-
- All Known Implementing Classes:
IncrementalIdStrategy.Factory
- Enclosing class:
- IdStrategy
public static interface IdStrategy.Factory
Responsible for instantiating customIdStrategy
impls.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdStrategy
create()
Creates a newIdStrategy
instance (impl).void
postCreate()
Called after the methodcreate()
has been called.
-
-
-
Method Detail
-
create
IdStrategy create()
Creates a newIdStrategy
instance (impl).
-
postCreate
void postCreate()
Called after the methodcreate()
has been called. This is used to prevent classloader issues. RuntimeEnv'sRuntimeEnv.ID_STRATEGY
need to be set first.
-
-