01: package org.drools.objenesis;
02:
03: import org.drools.objenesis.strategy.StdInstantiatorStrategy;
04:
05: /**
06: * Objenesis implementation using the {@link org.drools.objenesis.strategy.StdInstantiatorStrategy}.
07: *
08: * @author Henri Tremblay
09: */
10: public class ObjenesisStd extends ObjenesisBase {
11:
12: /**
13: * Default constructor using the {@link org.drools.objenesis.strategy.StdInstantiatorStrategy}
14: */
15: public ObjenesisStd() {
16: super (new StdInstantiatorStrategy());
17: }
18:
19: /**
20: * Instance using the {@link org.drools.objenesis.strategy.StdInstantiatorStrategy} with or without
21: * caching {@link org.drools.objenesis.instantiator.ObjectInstantiator}s
22: *
23: * @param useCache If {@link org.drools.objenesis.instantiator.ObjectInstantiator}s should be cached
24: */
25: public ObjenesisStd(final boolean useCache) {
26: super (new StdInstantiatorStrategy(), useCache);
27: }
28: }
|