| Package | Description |
|---|---|
| com.fasterxml.jackson.annotation |
| Modifier and Type | Method and Description |
|---|---|
abstract ObjectIdGenerator<T> |
ObjectIdGenerator.forScope(Class<?> scope)
Factory method to create a blueprint instance for specified
scope.
|
abstract ObjectIdGenerator<T> |
ObjectIdGenerator.newForSerialization(Object context)
Factory method called to create a new instance to use for
serialization: needed since generators may have state
(next id to produce).
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
ObjectIdGenerator.canUseFor(ObjectIdGenerator<?> gen)
Method called to check whether this generator instance can
be used for Object Ids of specific generator type and
scope; determination is based by passing a configured
"blueprint" (prototype) instance; from which the actual
instances are created (using
newForSerialization(java.lang.Object)). |
Copyright © 2019. All rights reserved.