org.zkoss.spring
Class SpringUtil

java.lang.Object
  extended by org.zkoss.spring.SpringUtil

public class SpringUtil
extends java.lang.Object

SpringUtil, a Spring utility.

Since:
1.0
Author:
henrichen

Constructor Summary
SpringUtil()
           
 
Method Summary
static org.springframework.context.ApplicationContext getApplicationContext()
          Get the spring application context.
static java.lang.Object getBean(java.lang.String name)
          Get the spring bean by the specified name.
static java.lang.Object getBean(java.lang.String name, java.lang.Class cls)
          Get the spring bean by the specified name and class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringUtil

public SpringUtil()
Method Detail

getApplicationContext

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


getBean

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


getBean

public static java.lang.Object getBean(java.lang.String name,
                                       java.lang.Class cls)
Get the spring bean by the specified name and class.



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