static class PrototypeFactory.PrototypeSerializationFactory<T extends java.io.Serializable> extends java.lang.Object implements Factory<T>
Modifier and Type | Field and Description |
---|---|
private T |
iPrototype
The object to clone via serialization each time
|
Modifier | Constructor and Description |
---|---|
private |
PrototypeSerializationFactory(T prototype)
Constructor to store prototype
|
Modifier and Type | Method and Description |
---|---|
T |
create()
Creates an object using serialization.
|