- All Implemented Interfaces:
- ObjectInstantiator<T>
@Instantiator(value=STANDARD)
public class SunReflectionFactoryInstantiator<T>
extends java.lang.Object
implements ObjectInstantiator<T>
Instantiates an object, WITHOUT calling it's constructor, using internal
sun.reflect.ReflectionFactory - a class only available on JDK's that use Sun's 1.4 (or later)
Java implementation. This is the best way to instantiate an object without any side effects
caused by the constructor - however it is not available on every platform.
- See Also:
ObjectInstantiator