|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objenesis.instantiator.sun.SunReflectionFactoryInstantiator
public class SunReflectionFactoryInstantiator
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.
ObjectInstantiator| Constructor Summary | |
|---|---|
SunReflectionFactoryInstantiator(java.lang.Class type)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
newInstance()
Returns a new instance of an object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SunReflectionFactoryInstantiator(java.lang.Class type)
| Method Detail |
|---|
public java.lang.Object newInstance()
ObjectInstantiator
newInstance in interface ObjectInstantiator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||