Package org.zkoss.zkplus.spring
Class SpringUtil
- java.lang.Object
-
- org.zkoss.zkplus.spring.SpringUtil
-
public class SpringUtil extends java.lang.Object
SpringUtil, a Spring utility.Applicable to Spring Framework version 2.x or later
- Author:
- henrichen
-
-
Constructor Summary
Constructors Constructor Description SpringUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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.
-
-