public interface UpdatableContext<CONTEXT> extends Serializable
Serializable may contain certain context members that cannot be Serialized. Hence they would be transient.UpdatableContext, one can re-inject the context. This can be used in conjunction with TransientAwareModel.
If the model is self-capable of refreshing its own context.Transformer to be aware of what context it requires and is injected before the transoformation process.
TransientAwareModel:ContextAware,
TransientAwareModel| Modifier and Type | Method and Description |
|---|---|
void |
updateContext(CONTEXT context) |
void updateContext(CONTEXT context)
Copyright © 2018. All rights reserved.