org.zkoss.spring.init
Class CoreVariableResolver

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

public class CoreVariableResolver
extends Object
implements org.zkoss.xel.VariableResolver, Serializable

VariableResolver for the ZK Spring Core module.

Since:
3.0
Author:
henrichen
See Also:
Serialized Form

Field Summary
protected  org.springframework.context.ApplicationContext _ctx
           
 
Constructor Summary
CoreVariableResolver()
           
 
Method Summary
 boolean equals(Object obj)
           
protected  org.springframework.context.ApplicationContext getApplicationContext()
          Get the spring application context.
 int hashCode()
           
 Object resolveVariable(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 transient 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 Object resolveVariable(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 Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.