org.jboss.seam.faces.view.config
Class ViewConfigStoreImpl
java.lang.Object
org.jboss.seam.faces.view.config.ViewConfigStoreImpl
- All Implemented Interfaces:
- ViewConfigStore
@ApplicationScoped
public class ViewConfigStoreImpl
- extends java.lang.Object
- implements ViewConfigStore
Data store for view specific data.
- Author:
- Stuart Douglas, Brian Leathem
|
Method Summary |
void |
addAnnotationData(java.lang.String viewId,
java.lang.annotation.Annotation annotation)
|
<T extends java.lang.annotation.Annotation>
java.util.List<T> |
|
getAllAnnotationData(java.lang.String viewId,
java.lang.Class<T> type)
|
<T extends java.lang.annotation.Annotation>
java.util.Map<java.lang.String,java.lang.annotation.Annotation> |
|
getAllAnnotationViewMap(java.lang.Class<T> type)
|
java.util.List<? extends java.lang.annotation.Annotation> |
getAllQualifierData(java.lang.String viewId,
java.lang.Class<? extends java.lang.annotation.Annotation> qualifier)
|
<T extends java.lang.annotation.Annotation>
T |
|
getAnnotationData(java.lang.String viewId,
java.lang.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 |
ViewConfigStoreImpl
public ViewConfigStoreImpl()
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(java.lang.String viewId,
java.lang.annotation.Annotation annotation)
- Specified by:
addAnnotationData in interface ViewConfigStore
getAnnotationData
public <T extends java.lang.annotation.Annotation> T getAnnotationData(java.lang.String viewId,
java.lang.Class<T> type)
- Specified by:
getAnnotationData in interface ViewConfigStore
getAllAnnotationData
public <T extends java.lang.annotation.Annotation> java.util.List<T> getAllAnnotationData(java.lang.String viewId,
java.lang.Class<T> type)
- Specified by:
getAllAnnotationData in interface ViewConfigStore
getAllAnnotationViewMap
public <T extends java.lang.annotation.Annotation> java.util.Map<java.lang.String,java.lang.annotation.Annotation> getAllAnnotationViewMap(java.lang.Class<T> type)
- Specified by:
getAllAnnotationViewMap in interface ViewConfigStore
getAllQualifierData
public java.util.List<? extends java.lang.annotation.Annotation> getAllQualifierData(java.lang.String viewId,
java.lang.Class<? extends java.lang.annotation.Annotation> qualifier)
- Specified by:
getAllQualifierData in interface ViewConfigStore
Copyright © 2009-2011 Seam Framework. All Rights Reserved.