Class ComponentVisitor.TemplatePreDeserializeVisitor
- java.lang.Object
- 
- com.inductiveautomation.factorypmi.application.components.util.ComponentVisitor
- 
- com.inductiveautomation.factorypmi.application.components.util.ComponentVisitor.TemplatePreDeserializeVisitor
 
 
- 
- Enclosing class:
- ComponentVisitor
 
 public static class ComponentVisitor.TemplatePreDeserializeVisitor extends 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 Summary- 
Nested 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 Summary- 
Fields inherited from class com.inductiveautomation.factorypmi.application.components.util.ComponentVisitorLOG
 
- 
 - 
Constructor SummaryConstructors Constructor Description TemplatePreDeserializeVisitor()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateManager.InstanceCacheloadInstances(VisionClientContext context)Pre-loads any templates that were found to be needed more than once.booleanvisit(javax.swing.JComponent component)Visit the component.- 
Methods inherited from class com.inductiveautomation.factorypmi.application.components.util.ComponentVisitorpop, push, walk, walk
 
- 
 
- 
- 
- 
Method Detail- 
visitpublic boolean visit(javax.swing.JComponent component) Description copied from class:ComponentVisitorVisit the component. Return false to not visit beneath this component.- Specified by:
- visitin class- ComponentVisitor
 
 - 
loadInstancespublic TemplateManager.InstanceCache loadInstances(VisionClientContext context) Pre-loads any templates that were found to be needed more than once. Uses a bulk deserialization method which is more efficient.
 
- 
 
-