01: package org.drools.objenesis.instantiator;
02:
03: /**
04: * Instantiates a new object.
05: */
06: public interface ObjectInstantiator {
07:
08: /**
09: * Returns a new instance of an object. The returned object's class is defined by the
10: * implementation.
11: *
12: * @return A new instance of an object.
13: */
14: Object newInstance();
15:
16: }
|