|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.seam.faces.view.config.ViewConfigStoreImpl
@ApplicationScoped public class ViewConfigStoreImpl
Data store for view specific data.
Constructor Summary | |
---|---|
ViewConfigStoreImpl()
|
Method Summary | ||
---|---|---|
void |
addAnnotationData(String viewId,
Annotation annotation)
Adds data to the store |
|
|
getAllAnnotationData(String viewId,
Class<T> type)
returns all data for a given viewId, with the most specific data at the start of the list |
|
List<? extends Annotation> |
getAllQualifierData(String viewId,
Class<? extends Annotation> qualifier)
returns all qualified data for a given viewId, with the most specific data at the start of the list |
|
|
getAnnotationData(String viewId,
Class<T> type)
gets the most specific data for a given viewId |
|
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 |
---|
public ViewConfigStoreImpl()
Method Detail |
---|
@Inject public void setup(ViewConfigExtension extension)
public void addAnnotationData(String viewId, Annotation annotation)
ViewConfigStore
addAnnotationData
in interface ViewConfigStore
viewId
- The view id to associate the data with. A * at the end of the view id is considered a wildcardannotation
- the data to storepublic <T extends Annotation> T getAnnotationData(String viewId, Class<T> type)
ViewConfigStore
getAnnotationData
in interface ViewConfigStore
public <T extends Annotation> List<T> getAllAnnotationData(String viewId, Class<T> type)
ViewConfigStore
getAllAnnotationData
in interface ViewConfigStore
public List<? extends Annotation> getAllQualifierData(String viewId, Class<? extends Annotation> qualifier)
ViewConfigStore
getAllQualifierData
in interface ViewConfigStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |