|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Design.ComponentFactory
Callback for creating instances of a given component class when reading
designs. The default implementation, Design.DefaultComponentFactory will
use Class.forName(className).newInstance(), which might not
be suitable e.g. in an OSGi environment or if the Component instances
should be created as managed CDI beans.
Use Design.setComponentFactory(ComponentFactory) to configure
Vaadin to use a custom component factory.
| Method Summary | |
|---|---|
Component |
createComponent(java.lang.String fullyQualifiedClassName,
DesignContext context)
Creates a component based on the fully qualified name derived from the tag name in the design. |
| Method Detail |
|---|
Component createComponent(java.lang.String fullyQualifiedClassName,
DesignContext context)
fullyQualifiedClassName - the fully qualified name of the component to createcontext - the design context for which the component is created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||