01: package com.sun.rave.designtime.ext;
02:
03: import com.sun.rave.designtime.DesignBean;
04: import com.sun.rave.designtime.DesignContext;
05:
06: /**
07: * Implementations of this factory are used to create instances of Design Beans
08: * at design time. The created object's type should be compatible with the type
09: * of the bean represented by the DesignBean.
10: */
11: public interface DesigntimeInstanceFactory {
12: /**
13: * This creates and returns instances of bean that is wrapped by the Design Beans.
14: */
15: public Object createInstance(DesignContext designContext,
16: DesignBean designBean);
17: }
|