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