| java.lang.Object com.sun.rave.web.ui.appbase.FacesBean com.sun.rave.web.ui.appbase.AbstractRequestBean
All known Subclasses: singlepagecrudform.RequestBean1, vehicleincidentreportapplication.RequestBean1, travelcenter.RequestBean1, singlepagecrudtable.RequestBean1, twopagecrudtable.RequestBean1, movieadmin.RequestBean1,
AbstractRequestBean | abstract public class AbstractRequestBean extends FacesBean (Code) | | AbstractRequestBean is the abstract base class for
data bean(s) that are stored in request scope attributes. It extends
FacesBean , so it inherits all of the default behavior
found there. In addition, the following lifecycle methods are called
automatically when the corresponding events occur:
init() - Called when this bean is initially added as a
request scope attribute (typically as the result of
evaluating a value binding or method binding expression).
destroy() - Called when the bean is removed from the
request attributes (typically as a result of the application
being shut down by the servlet container).
|
Method Summary | |
public void | destroy() This method is called when this bean is removed from
request scope. | public void | init() This method is called when this bean is initially added to
request scope. |
AbstractRequestBean | public AbstractRequestBean()(Code) | | Create a new request scope bean.
|
destroy | public void destroy()(Code) | | This method is called when this bean is removed from
request scope. This occurs automatically when the corresponding
HTTP response has been completed and sent to the client.
You may customize this method to clean up resources allocated
during the execution of the init() method, or
at any later time during the lifetime of the request.
|
init | public void init()(Code) | | This method is called when this bean is initially added to
request scope. Typically, this occurs as a result of evaluating
a value binding or method binding expression, which utilizes the
managed bean facility to instantiate this bean and store it into
request scope.
You may customize this method to allocate resources that are required
for the lifetime of the current request.
|
|
|