Class DynamicCompoundComponentsVisitor
- java.lang.Object
-
- com.hybris.cockpitng.widgets.common.dynamicforms.impl.CompoundComponentsVisitor
-
- com.hybris.cockpitng.widgets.common.dynamicforms.impl.DynamicCompoundComponentsVisitor
-
- All Implemented Interfaces:
ComponentsVisitor
public class DynamicCompoundComponentsVisitor extends CompoundComponentsVisitor
Compound visitor which gets from DynamicForms configuration dynamic visitorsDynamicForms.getVisitor(), loads them from spring context and uses them as its visitors.
-
-
Field Summary
-
Fields inherited from interface com.hybris.cockpitng.widgets.common.dynamicforms.ComponentsVisitor
COMPONENT_CTX, MODEL_ROOT, NULL
-
-
Constructor Summary
Constructors Constructor Description DynamicCompoundComponentsVisitor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<ComponentsVisitor>getDynamicVisitors(DynamicForms dynamicForms)voidinitialize(java.lang.String typeCode, WidgetInstanceManager wim, DynamicForms dynamicForms)Initializes a visitor.-
Methods inherited from class com.hybris.cockpitng.widgets.common.dynamicforms.impl.CompoundComponentsVisitor
getVisitors, register, setVisitors, unRegister
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hybris.cockpitng.widgets.common.dynamicforms.ComponentsVisitor
cleanUp
-
-
-
-
Method Detail
-
initialize
public void initialize(java.lang.String typeCode, WidgetInstanceManager wim, DynamicForms dynamicForms)Description copied from interface:ComponentsVisitorInitializes a visitor. The method should be called before the first usage of the visitor (calling methodComponentsVisitor.register(Component)).- Specified by:
initializein interfaceComponentsVisitor- Overrides:
initializein classCompoundComponentsVisitor
-
getDynamicVisitors
public static java.util.List<ComponentsVisitor> getDynamicVisitors(DynamicForms dynamicForms)
-
-