org.objenesis.instantiator
Interface ObjectInstantiator

All Known Implementing Classes:
AccessibleInstantiator, ConstructorInstantiator, GCJInstantiator, GCJInstantiatorBase, GCJSerializationInstantiator, JRockit131Instantiator, JRockitLegacyInstantiator, NewInstanceInstantiator, NullInstantiator, ObjectInputStreamInstantiator, ObjectStreamClassInstantiator, Sun13Instantiator, Sun13InstantiatorBase, Sun13SerializationInstantiator, SunReflectionFactoryInstantiator, SunReflectionFactorySerializationInstantiator

public interface ObjectInstantiator

Instantiates a new object.


Method Summary
 java.lang.Object newInstance()
          Returns a new instance of an object.
 

Method Detail

newInstance

java.lang.Object newInstance()
Returns a new instance of an object. The returned object's class is defined by the implementation.

Returns:
A new instance of an object.


Copyright © 2009. All Rights Reserved.