Module io.github.sugarcubes.cloner
Package io.github.sugarcubes.cloner.spi
Interface InstanceAllocator<T>
public interface InstanceAllocator<T>
Factory for objects of the specific type.
-
Method Summary
-
Method Details
-
newInstance
Creates an object instance. Instance may be not initialized.- Returns:
- new object instance
- Throws:
Exception- if something went wrong
-