| Package | Description |
|---|---|
| org.apache.empire.jsf2.app | |
| org.apache.empire.jsf2.utils |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FacesConfiguration.addManagedBean(Class<?> beanClass,
BeanScope scope) |
protected void |
FacesConfiguration.addManagedBean(String beanName,
Class<?> beanClass,
BeanScope beanScope) |
Object |
WebApplication.getContextBean(javax.faces.context.FacesContext context,
String beanName,
BeanScope scope)
Returns the bean for a particular scope
|
void |
WebApplication.registerManagedBean(Class<?> beanClass,
BeanScope scope)
Registers a ManagedBean for a particular scope
|
void |
WebApplication.setContextBean(javax.faces.context.FacesContext context,
Object beanInstance,
BeanScope scope)
Sets a bean for a particular scope
The beanName will be auto detected from the beanInstance
|
void |
WebApplication.setContextBean(javax.faces.context.FacesContext context,
String beanName,
Object beanInstance,
BeanScope scope)
Sets a bean for a particular scope
|
| Modifier and Type | Method and Description |
|---|---|
static BeanScope |
BeanScope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanScope[] |
BeanScope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.