|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ControlFactory
The ControlFactory interface defines a service provider interface for integrating an external JavaBean instantation/configuration framework with the Controls runtime.
Method Summary | ||
---|---|---|
|
instantiate(Class<T> beanClass,
PropertyMap props,
ControlBeanContext context,
String id)
Instantiates a new ControlBean of the requested class, using mechanisms provided by a provider-specific JavaBeans framework. |
Method Detail |
---|
<T extends ControlBean> T instantiate(Class<T> beanClass, PropertyMap props, ControlBeanContext context, String id)
beanClass
- the ControlBean class to instantiateprops
- an initial set of client-specified properties to associate with the
bean instance. May be null.context
- the containing ControlBeanContext for the bean, if nested inside of
a container or other control. May be null to use the current active
execution context.id
- the bean control ID. Must be unique within the containing context. If
null, a unique identifier will be auto-generated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |