uCosminexus Application Server, API Reference Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
2.5.1 @ManagedBean
(1) Description
Specify the Managed Bean used by JSF.
(2) Attribute
The following table lists the @ManagedBean attributes:
| Attribute name |
Functionality |
| eager |
Specify whether a Managed Bean is to be generated when the Web application starts. |
| name |
Specify the name of ManagedBean. |
Details of each attribute are as follows:
(a) eager attribute
- Type
- boolean
- Description
- Specify whether a Managed Bean is to be generated when Web application starts. If true is set, Bean scope should be within the application scope.
- Default value
- false
(b) name attribute
- Type
- String
- Description
- Specify the name of ManagedBean.
- If unspecified or Null, use the class name starting with a lower case character for the class that specifies annotation.
- Example : For java.examlpes.Bean, the name becomes bean.
- Default value
- ""
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.