Class ComponentVisitor.TemplatePreDeserializeVisitor
java.lang.Object
com.inductiveautomation.factorypmi.application.components.util.ComponentVisitor
com.inductiveautomation.factorypmi.application.components.util.ComponentVisitor.TemplatePreDeserializeVisitor
- Enclosing class:
- ComponentVisitor
Counts up the number of each template that will be needed on initialize, and then can pre-load instances for
 templates that will be needed more than once.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.inductiveautomation.factorypmi.application.components.util.ComponentVisitorComponentVisitor.BindingInitVisitor, ComponentVisitor.ComponentSecurityVisitor, ComponentVisitor.LocaleChangedVisitor, ComponentVisitor.ShutdownVisitor, ComponentVisitor.StartupVisitor, ComponentVisitor.TemplateHolderVisitor, ComponentVisitor.TemplatePreDeserializeVisitor, ComponentVisitor.UDTInitVisitor
- 
Field SummaryFields inherited from class com.inductiveautomation.factorypmi.application.components.util.ComponentVisitorLOG
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionloadInstances(VisionClientContext context) Pre-loads any templates that were found to be needed more than once.booleanvisit(JComponent component) Visit the component.Methods inherited from class com.inductiveautomation.factorypmi.application.components.util.ComponentVisitorpop, push, walk, walk
- 
Constructor Details- 
TemplatePreDeserializeVisitorpublic TemplatePreDeserializeVisitor()
 
- 
- 
Method Details- 
visitDescription copied from class:ComponentVisitorVisit the component. Return false to not visit beneath this component.- Specified by:
- visitin class- ComponentVisitor
 
- 
loadInstancesPre-loads any templates that were found to be needed more than once. Uses a bulk deserialization method which is more efficient.
 
-