01: package net.sourceforge.jaxor.api;
02:
03: import java.io.Serializable;
04: import java.util.List;
05:
06: /**
07: * Created By: Mike
08: * Date: Jan 15, 2004
09: * Time: 9:11:17 PM
10: *
11: * Last Checkin: $Author: mrettig $
12: * Date: $Date: 2004/03/03 03:59:18 $
13: * Revision: $Revision: 1.4 $
14: */
15:
16: /**
17: * The Jaxor context uses this context to create new instances of this objects.
18: * This allows us to easily swap in a new factory (i.e. PicoContainer).
19: */
20: public interface InstanceFactory extends Serializable {
21: public EntityInterface createEntity(Class clzz);
22:
23: public FinderAdapter createFinder(Class clzz, JaxorContext context);
24:
25: Object createListImpl(List list, Class listImplClass);
26: }
|