|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.AbstractFeature
com.sdm.quasar.client.jsf.binding.features.SessionResolverFeature
This KeywordResolver resolves the keyword
SESSION_KEYWORD to a SessionDataService object-instance.
This Feature should be installed at
the root (i.e. session) dialog.
| Field Summary | |
static java.lang.String |
SESSION_KEYWORD
Keyword defining the variable name that can be used in JSPs to access the current dialog-instance. |
| Constructor Summary | |
SessionResolverFeature()
|
|
| Method Summary | |
boolean |
canResolve(java.lang.String keyword)
Checks, if this resolver is responsible to resolve the given keyword |
protected void |
dispose()
Called when the feature or dialog is disposed. |
java.lang.Class |
getResolvedType(java.lang.String keyword)
|
protected void |
init()
Called when the feature is initializing. |
java.lang.Object |
resolve(java.lang.String keyword)
Resolves the SESSION pseudo-bean which is represented by a SessionDataService object.
|
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
activate, attachDialogControl, collectSystemInfo, deactivate, disposeFeature, getDialogControl, isInitialized, prepare, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String SESSION_KEYWORD
| Constructor Detail |
public SessionResolverFeature()
| Method Detail |
protected void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptionprotected void init()
AbstractFeatureDialogControl installed to. To access the
DialogControl use the AbstractFeature.getDialogControl() method.
Override this method to perform some action on initialization e.g. register public services.
init in class AbstractFeaturepublic boolean canResolve(java.lang.String keyword)
canResolve in interface KeywordResolverkeyword - the keywort to be resolved
com.sdm.quasar.client.jsf.binding.KeywordResolver#canResolve(Object)public java.lang.Class getResolvedType(java.lang.String keyword)
getResolvedType in interface KeywordResolverkeyword - the keyword to be resolve
com.sdm.quasar.client.jsf.binding.KeywordResolver#getType(Object)public java.lang.Object resolve(java.lang.String keyword)
SessionDataService object.
Performs the resolve step according to the keyword.
The Result may be
KeywordResolver to do the next resolve step ValueResolver for value binding to resolve a valueActionResolver for action binding to resolve an action
resolve in interface KeywordResolverkeyword - the keyword to be resolve
com.sdm.quasar.client.jsf.binding.KeywordResolver#resolve(Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||