Package | Description |
---|---|
org.glassfish.pfl.dynamic.copyobject.impl | |
org.glassfish.pfl.dynamic.copyobject.spi |
Modifier and Type | Method and Description |
---|---|
ReflectiveCopyException |
Exceptions.cannotCopyClass(Class<?> cls) |
ReflectiveCopyException |
Exceptions.cannotCopyInterface(Class<?> cls) |
ReflectiveCopyException |
Exceptions.couldNotCopy(Object obj,
ReflectiveCopyException exc) |
ReflectiveCopyException |
Exceptions.noClassCopierForSuperclass(Class<?> superClass) |
ReflectiveCopyException |
Exceptions.stackOverflow(Object source,
StackOverflowError ex) |
Modifier and Type | Method and Description |
---|---|
ReflectiveCopyException |
Exceptions.couldNotCopy(Object obj,
ReflectiveCopyException exc) |
void |
Exceptions.failureInFallback(ReflectiveCopyException exc,
Object obj,
Class<?> cls) |
Modifier and Type | Method and Description |
---|---|
Object |
ClassCopierBase.copy(Map<Object,Object> oldToNew,
Object source)
Make the actual copy of source, using oldToNew to preserve aliasing.
|
Object |
ClassCopier.copy(Map<Object,Object> oldToNew,
Object source)
Produce a deep copy of source, recursively copying all
of its constituents.
|
void |
ClassCopierOrdinaryImpl.ClassFieldCopier.copy(Map<Object,Object> oldToNew,
Object src,
Object dest)
Copy all fields from src to dest, using
oldToNew as usual to preserve aliasing.
|
Object |
ObjectCopierImpl.copy(Object obj)
Return a deep copy of obj.
|
Object |
FallbackObjectCopierImpl.copy(Object src) |
protected void |
CodegenCopierBase.copyObject(Map<Object,Object> oldToNew,
long offset,
Object src,
Object dest) |
Object |
ClassCopierOrdinaryImpl.createCopy(Object source) |
protected abstract Object |
ClassCopierBase.createCopy(Object source)
Create a copy of source.
|
Object |
ClassCopierOrdinaryImpl.doCopy(Map<Object,Object> oldToNew,
Object source,
Object result) |
protected Object |
ClassCopierBase.doCopy(Map<Object,Object> oldToNew,
Object source,
Object result)
Do the copying of data from source to result.
|
ClassCopier |
ClassCopierFactoryPipelineImpl.getClassCopier(Class<?> cls)
Analyze cls to determine the appropriate ClassCopier
and return the ClassCopier instance.
|
ClassCopier |
ClassCopierFactory.getClassCopier(Class<?> cls)
Return the ClassCopier instance for a particular class.
|
Constructor and Description |
---|
ClassCopierOrdinaryImpl(PipelineClassCopierFactory ccf,
Class<?> cls) |
Modifier and Type | Method and Description |
---|---|
Object |
ObjectCopier.copy(Object obj)
copy the object.
|
Copyright © 2017 Oracle. All rights reserved.