@Scope(value="prototype")
@Component(value="cuba_CompositeComponentLayoutLoader")
public class CompositeComponentLayoutLoader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected BeanLocator |
beanLocator |
static java.lang.String |
COMPOSITE_COMPONENT_ELEMENT_NAME |
protected LayoutLoaderConfig |
config |
protected ComponentLoader.Context |
context |
protected UiComponents |
factory |
static java.lang.String |
NAME |
Constructor and Description |
---|
CompositeComponentLayoutLoader(ComponentLoader.Context context) |
Modifier and Type | Method and Description |
---|---|
Component |
createComponent(org.dom4j.Element element) |
protected ComponentLoader |
getLoader(org.dom4j.Element element) |
protected ComponentLoader |
initLoader(org.dom4j.Element element,
java.lang.Class<? extends ComponentLoader> loaderClass) |
void |
setBeanLocator(BeanLocator beanLocator) |
void |
setConfig(LayoutLoaderConfig config) |
void |
setFactory(UiComponents factory) |
public static final java.lang.String NAME
public static final java.lang.String COMPOSITE_COMPONENT_ELEMENT_NAME
protected ComponentLoader.Context context
protected UiComponents factory
protected LayoutLoaderConfig config
protected BeanLocator beanLocator
public CompositeComponentLayoutLoader(ComponentLoader.Context context)
@Inject public void setBeanLocator(BeanLocator beanLocator)
@Inject public void setFactory(UiComponents factory)
@Inject public void setConfig(LayoutLoaderConfig config)
protected ComponentLoader getLoader(org.dom4j.Element element)
protected ComponentLoader initLoader(org.dom4j.Element element, java.lang.Class<? extends ComponentLoader> loaderClass)
public Component createComponent(org.dom4j.Element element)