01: package org.drools.objenesis.instantiator;
02:
03: /**
04: * The instantiator that always return a null instance
05: *
06: * @author Henri Tremblay
07: */
08: public class NullInstantiator implements ObjectInstantiator {
09:
10: /**
11: * @return Always null
12: */
13: public Object newInstance() {
14: return null;
15: }
16: }
|