|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.rave.web.ui.appbase.FacesBean
com.sun.rave.web.ui.appbase.AbstractFragmentBean
public abstract class AbstractFragmentBean
AbstractFragmentBean is the abstract base class for every
page bean associated with a JSP page fragment containing JavaServer Faces
components. It extends FacesBean, so it inherits all of the
default integration behavior found there.
In addition to event handler methods that you create while building your application, the runtime environment will also call the following lifecycle related methods at appropriate points during the execution of your application:
init() was called, after completion of rendering by
whichever page was actually rendered. Override this method to release
any resources allocated in the init() method,
or in an event handler.
| Constructor Summary | |
|---|---|
AbstractFragmentBean()
Construct a new instance of this bean. |
|
| Method Summary | |
|---|---|
void |
destroy()
Callback method that is called after rendering is completed for this request, if init() was called. |
void |
init()
Callback method that is called whenever a page containing this page fragment is navigated to, either directly via a URL, or indirectly via page navigation. |
| Methods inherited from class com.sun.rave.web.ui.appbase.FacesBean |
|---|
erase, error, error, fatal, fatal, getApplication, getApplicationMap, getBean, getCachedExceptions, getContext, getExternalContext, getFacesContext, getLifecycle, getRequestMap, getSessionMap, getValue, info, info, log, log, retrieveData, saveData, setBean, setValue, warn, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFragmentBean()
Construct a new instance of this bean.
| Method Detail |
|---|
public void init()
Callback method that is called whenever a page containing this page fragment is navigated to, either directly via a URL, or indirectly via page navigation. Override this method to acquire resources that will be needed for event handlers and lifecycle methods.
The default implementation does nothing.
public void destroy()
Callback method that is called after rendering is completed for
this request, if init() was called. Override this
method to release resources acquired in the init()
method (or acquired during execution of an event handler).
The default implementation does nothing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||