WindowDisposed

Table of Contents

@org.icefaces.bean.WindowDisposed

A view-scoped bean annotated with @WindowDisposed is removed from the View map when the browser window associated with that view is closed. With stock JavaServer Faces, view-scoped beans are disposed when the session expires. By using ICEfaces and the @WindowDisposed annotation, view-scoped beans can be disposed in a more timely fashion resulting in more efficient use of resources.

MyViewScopedBean.java with @WindowDisposed
package org.icefaces.demo;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import java.io.Serializable;

import org.icefaces.bean.WindowDisposed;

@ManagedBean(name = "myViewScopedBean")
@ViewScoped
@WindowDisposed
public class MyViewScopedBean implements Serializable {
...
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2021 ICEsoft Technologies Canada Corp.