Class ViewPoolImpl
- java.lang.Object
- 
- org.apache.myfaces.view.facelets.pool.ViewPool
- 
- org.apache.myfaces.view.facelets.pool.impl.ViewPoolImpl
 
 
- 
 public class ViewPoolImpl extends ViewPool - Author:
- Leonardo Uribe
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.myfaces.view.facelets.pool.ViewPoolENTRY_MODE_SOFT, ENTRY_MODE_WEAK, INIT_PARAM_VIEW_POOL_DEFERRED_NAVIGATION, INIT_PARAM_VIEW_POOL_ENTRY_MODE, INIT_PARAM_VIEW_POOL_ENTRY_MODE_DEFAULT, INIT_PARAM_VIEW_POOL_MAX_DYNAMIC_PARTIAL_LIMIT, INIT_PARAM_VIEW_POOL_MAX_DYNAMIC_PARTIAL_LIMIT_DEFAULT, INIT_PARAM_VIEW_POOL_MAX_POOL_SIZE, INIT_PARAM_VIEW_POOL_MAX_POOL_SIZE_DEFAULT
 
- 
 - 
Constructor SummaryConstructors Constructor Description ViewPoolImpl(FacesContext facesContext, Map<String,String> parameters)
 - 
Method Summary
 
- 
- 
- 
Constructor Detail- 
ViewPoolImplpublic ViewPoolImpl(FacesContext facesContext, Map<String,String> parameters) 
 
- 
 - 
Method Detail- 
pushStaticStructureViewprotected void pushStaticStructureView(FacesContext context, MetadataViewKey key, ViewEntry entry) 
 - 
popStaticStructureViewprotected ViewEntry popStaticStructureView(FacesContext context, MetadataViewKey key) 
 - 
pushPartialStructureViewprotected void pushPartialStructureView(FacesContext context, MetadataViewKey key, ViewEntry entry) 
 - 
popPartialStructureViewprotected ViewEntry popPartialStructureView(FacesContext context, MetadataViewKey key) 
 - 
deriveViewKeyprotected MetadataViewKey deriveViewKey(FacesContext facesContext, UIViewRoot root) Generates an unique key according to the metadata information stored in the passed UIViewRoot instance that can affect the way how the view is generated. By default, the "view" params are the viewId, the locale, the renderKit and the contracts associated to the view.- Parameters:
- facesContext-
- root-
- Returns:
 
 - 
generateViewEntryprotected ViewEntry generateViewEntry(FacesContext facesContext, UIViewRoot root) 
 - 
generateDynamicStructureViewKeyprotected DynamicViewKey generateDynamicStructureViewKey(FacesContext facesContext, UIViewRoot root, FaceletState faceletDynamicState) 
 - 
pushDynamicStructureViewprotected void pushDynamicStructureView(FacesContext context, UIViewRoot root, DynamicViewKey key, ViewEntry entry) 
 - 
popDynamicStructureViewprotected ViewEntry popDynamicStructureView(FacesContext context, UIViewRoot root, DynamicViewKey key) 
 - 
pushStaticStructureViewpublic void pushStaticStructureView(FacesContext context, UIViewRoot root) - Specified by:
- pushStaticStructureViewin class- ViewPool
 
 - 
popStaticOrPartialStructureViewpublic ViewEntry popStaticOrPartialStructureView(FacesContext context, UIViewRoot root) - Specified by:
- popStaticOrPartialStructureViewin class- ViewPool
 
 - 
pushDynamicStructureViewpublic void pushDynamicStructureView(FacesContext context, UIViewRoot root, FaceletState faceletDynamicState) - Specified by:
- pushDynamicStructureViewin class- ViewPool
 
 - 
popDynamicStructureViewpublic ViewEntry popDynamicStructureView(FacesContext context, UIViewRoot root, FaceletState faceletDynamicState) - Specified by:
- popDynamicStructureViewin class- ViewPool
 
 - 
pushPartialStructureViewpublic void pushPartialStructureView(FacesContext context, UIViewRoot root) - Specified by:
- pushPartialStructureViewin class- ViewPool
 
 - 
isWorthToRecycleThisViewpublic boolean isWorthToRecycleThisView(FacesContext context, UIViewRoot root) - Specified by:
- isWorthToRecycleThisViewin class- ViewPool
 
 - 
storeStaticViewStructureMetadatapublic void storeStaticViewStructureMetadata(FacesContext context, UIViewRoot root, FaceletState faceletState) - Specified by:
- storeStaticViewStructureMetadatain class- ViewPool
 
 - 
retrieveStaticViewStructureMetadatapublic ViewStructureMetadata retrieveStaticViewStructureMetadata(FacesContext context, UIViewRoot root) - Specified by:
- retrieveStaticViewStructureMetadatain class- ViewPool
 
 - 
storeDynamicViewStructureMetadatapublic void storeDynamicViewStructureMetadata(FacesContext context, UIViewRoot root, FaceletState faceletDynamicState) - Specified by:
- storeDynamicViewStructureMetadatain class- ViewPool
 
 - 
retrieveDynamicViewStructureMetadatapublic ViewStructureMetadata retrieveDynamicViewStructureMetadata(FacesContext context, UIViewRoot root, FaceletState faceletDynamicState) - Specified by:
- retrieveDynamicViewStructureMetadatain class- ViewPool
 
 - 
isDeferredNavigationEnabledpublic boolean isDeferredNavigationEnabled() Description copied from class:ViewPoolIndicate if the view pool uses deferred navigation.- Specified by:
- isDeferredNavigationEnabledin class- ViewPool
- Returns:
- the deferredNavigation
 
 
- 
 
-