org.jboss.seam.faces.viewdata
Class ViewDataStoreImpl
java.lang.Object
org.jboss.seam.faces.viewdata.ViewDataStoreImpl
- All Implemented Interfaces:
- ViewDataStore
@ApplicationScoped
public class ViewDataStoreImpl
- extends Object
- implements ViewDataStore
Data store for view specific data.
- Author:
- Stuart Douglas
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewDataStoreImpl
public ViewDataStoreImpl()
setup
@Inject
public void setup(ViewDataConfigurationExtension 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
addData
public void addData(String viewId,
Annotation annotation)
- Specified by:
addData in interface ViewDataStore
getData
public <T extends Annotation> T getData(String viewId,
Class<T> type)
- Specified by:
getData in interface ViewDataStore
getDataForCurrentViewId
public <T extends Annotation> T getDataForCurrentViewId(Class<T> type)
- Specified by:
getDataForCurrentViewId in interface ViewDataStore
getAllData
public <T extends Annotation> List<T> getAllData(String viewId,
Class<T> type)
- Specified by:
getAllData in interface ViewDataStore
getAllDataForCurrentViewId
public <T extends Annotation> List<T> getAllDataForCurrentViewId(Class<T> type)
- Specified by:
getAllDataForCurrentViewId in interface ViewDataStore
Copyright © 2009-2011 Seam Framework. All Rights Reserved.