org.jboss.seam.faces.view.config
Class ViewConfigStoreImpl

java.lang.Object
  extended by org.jboss.seam.faces.view.config.ViewConfigStoreImpl
All Implemented Interfaces:
ViewConfigStore

@ApplicationScoped
public class ViewConfigStoreImpl
extends Object
implements ViewConfigStore

Data store for view specific data.

Author:
Stuart Douglas, Brian Leathem

Constructor Summary
ViewConfigStoreImpl()
           
 
Method Summary
 void addAnnotationData(String viewId, Annotation annotation)
           
<T extends Annotation>
List<T>
getAllAnnotationData(String viewId, Class<T> type)
           
 List<? extends Annotation> getAllQualifierData(String viewId, Class<? extends Annotation> qualifier)
           
<T extends Annotation>
T
getAnnotationData(String viewId, Class<T> type)
           
 void setup(ViewConfigExtension extension)
          setup the bean with the configuration from the extension It would be better if the extension could do this, but the extension cannot resolve the bean until after all lifecycle events have been processed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewConfigStoreImpl

public ViewConfigStoreImpl()
Method Detail

setup

@Inject
public void setup(ViewConfigExtension extension)
setup the bean with the configuration from the extension It would be better if the extension could do this, but the extension cannot resolve the bean until after all lifecycle events have been processed


addAnnotationData

public void addAnnotationData(String viewId,
                              Annotation annotation)
Specified by:
addAnnotationData in interface ViewConfigStore

getAnnotationData

public <T extends Annotation> T getAnnotationData(String viewId,
                                                  Class<T> type)
Specified by:
getAnnotationData in interface ViewConfigStore

getAllAnnotationData

public <T extends Annotation> List<T> getAllAnnotationData(String viewId,
                                                           Class<T> type)
Specified by:
getAllAnnotationData in interface ViewConfigStore

getAllQualifierData

public List<? extends Annotation> getAllQualifierData(String viewId,
                                                      Class<? extends Annotation> qualifier)
Specified by:
getAllQualifierData in interface ViewConfigStore


Copyright © 2009-2011 Seam Framework. All Rights Reserved.