Constructor and Description |
---|
ClonerConfiguration() |
Modifier and Type | Method and Description |
---|---|
ClonerConfiguration |
clone()
Create a copy of this configuration.
|
int |
getBufferSize()
Get the buffer size to use.
|
ClassCloner |
getClassCloner()
Get the class cloner.
|
CloneTable |
getCloneTable()
Get the clone table.
|
ObjectResolver |
getObjectPreResolver()
Get the object pre resolver, or
null if none is specified. |
ObjectResolver |
getObjectResolver()
Get the object resolver.
|
SerializabilityChecker |
getSerializabilityChecker()
Get the serializability checker.
|
void |
setBufferSize(int bufferSize)
Set the buffer size to use.
|
void |
setClassCloner(ClassCloner classCloner)
Set the class cloner.
|
void |
setCloneTable(CloneTable cloneTable)
Set the clone table.
|
void |
setObjectPreResolver(ObjectResolver objectPreResolver)
Set the object pre resolver, or
null to use none. |
void |
setObjectResolver(ObjectResolver objectResolver)
Set the object resolver.
|
void |
setSerializabilityChecker(SerializabilityChecker serializabilityChecker)
Set the serializability checker.
|
public ClonerConfiguration clone()
public CloneTable getCloneTable()
public void setCloneTable(CloneTable cloneTable)
cloneTable
- the clone tablegetCloneTable()
public ObjectResolver getObjectResolver()
public void setObjectResolver(ObjectResolver objectResolver)
objectResolver
- the object resolvergetObjectResolver()
public ObjectResolver getObjectPreResolver()
null
if none is specified.public void setObjectPreResolver(ObjectResolver objectPreResolver)
null
to use none.
Invoked before user replacement and global object resolverobjectResolver
- the object resolverpublic ClassCloner getClassCloner()
public void setClassCloner(ClassCloner classCloner)
classCloner
- the class clonergetClassCloner()
public SerializabilityChecker getSerializabilityChecker()
SerializabilityChecker.DEFAULT
public void setSerializabilityChecker(SerializabilityChecker serializabilityChecker)
serializabilityChecker
- the serializability checkergetSerializabilityChecker()
public int getBufferSize()
public void setBufferSize(int bufferSize)
bufferSize
- the buffer size to usegetBufferSize()
Copyright © 2017 JBoss by Red Hat. All rights reserved.