public class SpringUtil
extends java.lang.Object
Applicable to Spring Framework version 2.x or later
Constructor and Description |
---|
SpringUtil() |
Modifier and Type | Method and 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.
|
public static org.springframework.context.ApplicationContext getApplicationContext()
public static java.lang.Object getBean(java.lang.String name)
public static java.lang.Object getBean(java.lang.String name, java.lang.Class cls)
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.