|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Stores and loads a scoped bean (see
ScopedBeanDefinition)
to/from the appropriate scope of faces' external context.
| Method Summary | |
java.lang.Object |
load(java.lang.String beanName,
ScopedBeanDefinition beanDefinition)
Tries to get the scoped bean with the bean-name name from
the appropriate scope of the external context of faces. |
void |
save(java.lang.String beanName,
java.lang.Object bean,
ScopedBeanDefinition beanDefinition)
Tries to store the scoped bean bean with the bean-name
name to the appropriate scope of the external context of
faces. |
| Method Detail |
public java.lang.Object load(java.lang.String beanName,
ScopedBeanDefinition beanDefinition)
name from
the appropriate scope of the external context of faces.
beanName - the name of the bean to loadbeanDefinition - the BeanDefiniton of the bean to load
null if not yet saved
FacesBeansException - in cases of errors (e.g. not the defined type)
public void save(java.lang.String beanName,
java.lang.Object bean,
ScopedBeanDefinition beanDefinition)
bean with the bean-name
name to the appropriate scope of the external context of
faces.
beanName - the name of the bean to storebean - the bean to storebeanDefinition - the BeanDefiniton of the bean to store
FacesBeansException - in cases of errors
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||