Class SpringUtil

java.lang.Object
org.zkoss.zkplus.spring.SpringUtil

public class SpringUtil extends Object
SpringUtil, a Spring utility.

Applicable to Spring Framework version 2.x or later

Author:
henrichen
  • Constructor Details

    • SpringUtil

      public SpringUtil()
  • Method Details

    • getApplicationContext

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

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

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