| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | LOGGER
Stores the logger. |
| private static final long | serialVersionUID
Stores the serial version UID. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public < the type. T> T | Returns: the view scoped bean, or null if not found.the contextual. contextual)Implements jakarta. Get the ViewScoped bean for the given contextual. |
| public < the type. T> T | Returns: the instance.the contextual. contextual, CreationalContext<T> the creational. creational)Implements jakarta. Get the existing instance of the ViewScoped bean for the given contextual or create a new one. |
| public Class | Returns: the class.Implements jakarta. Get the class of the scope object. |
| public boolean | Returns: true if there is a view root, false otherwise.Implements jakarta. Determine if the context is active. |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER Stores the logger. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Stores the serial version UID. | |
| ViewScopeContext | back to summary |
|---|---|
| public ViewScopeContext() Constructor. | |
| assertNotReleased | back to summary |
|---|---|
| private void assertNotReleased() Assert the context is active, otherwise throw ContextNotActiveException. | |
| get | back to summary |
|---|---|
| public <T> T get(Contextual<T> contextual) Implements jakarta. Get the ViewScoped bean for the given contextual.
| |
| get | back to summary |
|---|---|
| public <T> T get(Contextual<T> contextual, CreationalContext<T> creational) Implements jakarta. Get the existing instance of the ViewScoped bean for the given contextual or create a new one.
| |
| getScope | back to summary |
|---|---|
| public Class Implements jakarta. Get the class of the scope object.
| |
| isActive | back to summary |
|---|---|
| public boolean isActive() Implements jakarta. Determine if the context is active.
| |