org.zkoss.spring.init
Class CoreVariableResolver

java.lang.Object
  extended by org.zkoss.spring.init.CoreVariableResolver
All Implemented Interfaces:
org.zkoss.xel.VariableResolver

public class CoreVariableResolver
extends java.lang.Object
implements org.zkoss.xel.VariableResolver

VariableResolver for the ZK Spring Core module.

Since:
3.0
Author:
henrichen

Field Summary
protected  org.springframework.context.ApplicationContext _ctx
           
 
Constructor Summary
CoreVariableResolver()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
protected  org.springframework.context.ApplicationContext getApplicationContext()
          Get the spring application context.
 int hashCode()
           
 java.lang.Object resolveVariable(java.lang.String name)
          Get the spring bean by the specified name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_ctx

protected org.springframework.context.ApplicationContext _ctx
Constructor Detail

CoreVariableResolver

public CoreVariableResolver()
Method Detail

getApplicationContext

protected org.springframework.context.ApplicationContext getApplicationContext()
Get the spring application context.


resolveVariable

public java.lang.Object resolveVariable(java.lang.String name)
Get the spring bean by the specified name.

Specified by:
resolveVariable in interface org.zkoss.xel.VariableResolver

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.