- java.lang.Object
-
- org.omnifaces.util.copier.MultiStrategyCopier
-
- All Implemented Interfaces:
Copier
public class MultiStrategyCopier extends Object implements Copier
Copier that copies an object trying a variety of strategies until one succeeds.The strategies that will be attempted in order are:
- Cloning
- Serialization
- Copy constructor
- New instance
- Since:
- 2.0
- Author:
- Arjan Tijms
-
-
Constructor Summary
Constructors Constructor Description MultiStrategyCopier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
copy(Object object)
Return an object that's logically a copy of the given object.
-