|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.myfaces.custom.aliasbean.Alias
class Alias
A helper bean used by both AliasBean and AliasBeansScope components.
An Alias instance represents a single mapping from a "temporary" bean name to the real bean that temporary name should reference. When this alias is "activated" the temporary name is registered and when the alias is "deactivated" the temporary name is removed.
Field Summary | |
---|---|
(package private) static org.apache.commons.logging.Log |
log
|
Constructor Summary | |
---|---|
Alias(AliasBean aliasComponent)
|
Method Summary | |
---|---|
(package private) java.lang.String |
getValueExpression()
|
(package private) boolean |
isActive()
|
(package private) void |
make(javax.faces.context.FacesContext facesContext)
Activate this alias (ie create the temporary name). |
(package private) void |
remove(javax.faces.context.FacesContext facesContext)
Deactivate this alias (ie remove the temporary name). |
(package private) void |
restoreState(java.lang.Object state)
|
(package private) java.lang.String[] |
saveState()
|
(package private) void |
setAliasBeanExpression(java.lang.String aliasBeanExpression)
Define the temporary/transient name that will exist while this alias is "active" (in scope). |
(package private) void |
setValueExpression(java.lang.String valueExpression)
Define the object that will be referenced by the temporary/transient name while it exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final org.apache.commons.logging.Log log
Constructor Detail |
---|
Alias(AliasBean aliasComponent)
Method Detail |
---|
void setAliasBeanExpression(java.lang.String aliasBeanExpression)
void setValueExpression(java.lang.String valueExpression)
This can be a constant, but is more usually an EL expression. The value is recalculated each time this alias is "activated".
java.lang.String getValueExpression()
boolean isActive()
java.lang.String[] saveState()
void restoreState(java.lang.Object state)
void make(javax.faces.context.FacesContext facesContext)
void remove(javax.faces.context.FacesContext facesContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |