org.apache.myfaces.extensions.cdi.jsf.impl.config.view
Class ViewConfigCache

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.jsf.impl.config.view.ViewConfigCache

public class ViewConfigCache
extends Object

TODO move exceptions to util class

Author:
Gerhard Petracek

Constructor Summary
ViewConfigCache()
           
 
Method Summary
static ViewConfigEntry getDefaultErrorView()
           
static Collection<ViewConfigEntry> getViewConfigEntries()
           
static ViewConfigEntry getViewDefinition(Class<? extends ViewConfig> viewDefinitionClass)
           
static ViewConfigEntry getViewDefinition(String viewId)
           
static void reset()
          resets the whole cache - e.g. needed for junit tests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewConfigCache

public ViewConfigCache()
Method Detail

getViewDefinition

public static ViewConfigEntry getViewDefinition(String viewId)

getViewConfigEntries

public static Collection<ViewConfigEntry> getViewConfigEntries()

getViewDefinition

public static ViewConfigEntry getViewDefinition(Class<? extends ViewConfig> viewDefinitionClass)

getDefaultErrorView

public static ViewConfigEntry getDefaultErrorView()

reset

public static void reset()
resets the whole cache - e.g. needed for junit tests



Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.