Package io.protostuff.runtime
Interface IdStrategy.Factory
- All Known Implementing Classes:
IncrementalIdStrategy.Factory
- Enclosing class:
IdStrategy
public static interface IdStrategy.Factory
Responsible for instantiating custom
IdStrategy
impls.-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Creates a newIdStrategy
instance (impl).void
Called after the methodcreate()
has been called.
-
Method Details
-
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.
-