public final class ObjectCloners extends Object
Modifier and Type | Method and Description |
---|---|
static ObjectClonerSource |
createObjectClonerSource(ObjectClonerFactory factory,
ClonerConfiguration configuration)
Get an object cloner source which creates cloners with a static configuration.
|
static ObjectClonerFactory |
getCloneableObjectClonerFactory()
Get the cloneable object cloner factory.
|
static ObjectClonerFactory |
getSerializingObjectClonerFactory()
Get the serializing object cloner factory.
|
public static ObjectClonerFactory getCloneableObjectClonerFactory()
public static ObjectClonerFactory getSerializingObjectClonerFactory()
public static ObjectClonerSource createObjectClonerSource(ObjectClonerFactory factory, ClonerConfiguration configuration)
factory
- the cloner factory to useconfiguration
- the configuration to use for all clonersCopyright © 2021 JBoss by Red Hat. All rights reserved.