|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zkplus.spring.DelegatingVariableResolver
public class DelegatingVariableResolver
DelegatingVariableResolver, a spring bean variable resolver.
It defines a variable called springContext to represent
the instance of org.springframework.context.ApplicationContext.
It also looks variables for beans defined in springContext.
Usage:
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
| Field Summary | |
|---|---|
protected org.springframework.context.ApplicationContext |
_ctx
|
| Constructor Summary | |
|---|---|
DelegatingVariableResolver()
|
|
| Method Summary | |
|---|---|
protected org.springframework.context.ApplicationContext |
getApplicationContext()
Get the spring application context. |
java.lang.Object |
resolveVariable(java.lang.String name)
Get the spring bean by the specified name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.springframework.context.ApplicationContext _ctx
| Constructor Detail |
|---|
public DelegatingVariableResolver()
| Method Detail |
|---|
protected org.springframework.context.ApplicationContext getApplicationContext()
public java.lang.Object resolveVariable(java.lang.String name)
resolveVariable in interface VariableResolvername - the name of the variable to resolve
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||