|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.bean.BaseFacesBean
com.webmethods.caf.faces.bean.BaseFacesSessionBean
public abstract class BaseFacesSessionBean
Base class for managed beans with session scope.
Clients must implement BaseFacesSessionBean.release()
method to cleanup all allocated resources when
http session gets invalidated.
Field Summary | |
---|---|
protected Boolean |
fExpireWithPageFlow
The value of 'expireWithPageFlow' flag from faces-config. |
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesBean |
---|
DATA_BINDING_CLIENTS, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders |
Constructor Summary | |
---|---|
BaseFacesSessionBean()
Default constructor |
Method Summary | |
---|---|
Boolean |
getExpireWithPageFlow()
Returns the value of the expireWithPageFlow flag |
protected abstract void |
release()
Override this method to release any resources associated with this session. |
void |
setExpireWithPageFlow(Boolean value)
Sets the expireWithPageFlow flag. |
void |
valueBound(HttpSessionBindingEvent event)
Implementation of the HttpSessionBindingListener . |
void |
valueUnbound(HttpSessionBindingEvent event)
Implementation of the HttpSessionBindingListener . |
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesBean |
---|
createMethodBinding, createValueBinding, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Boolean fExpireWithPageFlow
NOTE: changing this value will have no effect after the managed bean has already been initialized and stored.
Constructor Detail |
---|
public BaseFacesSessionBean()
Method Detail |
---|
public Boolean getExpireWithPageFlow()
IPageFlowScopeAdapter
getExpireWithPageFlow
in interface IPageFlowScopeAdapter
public void setExpireWithPageFlow(Boolean value)
IPageFlowScopeAdapter
setExpireWithPageFlow
in interface IPageFlowScopeAdapter
value
- true or falseprotected abstract void release()
public void valueBound(HttpSessionBindingEvent event)
HttpSessionBindingListener
.
Does nothing by default.
public void valueUnbound(HttpSessionBindingEvent event)
HttpSessionBindingListener
.
Calls BaseFacesSessionBean.release()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |