|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zkplus.spring.DelegatingVariableResolver
public class DelegatingVariableResolver
DelegatingVariableResolver for resolving Spring beans, Spring Security variables and Spring Webflow variables.
It delegates variable resolving to ZK Spring core, ZK Spring Security and ZK Spring FlowResolver if they are on application classpath.
Usage:
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
Developers can specify a list of class names separated with comma in
a library property called org.zkoss.spring.VariableResolver.class
,
such they are used as the default variable resolvers.
Applicable to Spring Framework version 2.x or later
Field Summary | |
---|---|
protected java.util.List<VariableResolver> |
_variableResolvers
Holds list of variable resolvers for Spring core (3.0RC and later), Spring security(3.0RC and later) and Spring webflow(only for 1.x) |
Constructor Summary | |
---|---|
DelegatingVariableResolver()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.Object |
resolveVariable(java.lang.String name)
Resolves variable name by name. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient java.util.List<VariableResolver> _variableResolvers
Constructor Detail |
---|
public DelegatingVariableResolver()
Method Detail |
---|
public java.lang.Object resolveVariable(java.lang.String name)
resolveVariable
in interface VariableResolver
name
- the name of the variable to resolvepublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |