类 BeanManager
java.lang.Object
cn.devspace.nucleus.Manager.BeanManager
- 所有已实现的接口:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@Configuration
public class BeanManager
extends Object
implements org.springframework.context.ApplicationContextAware
-
字段概要
字段修饰符和类型字段说明static org.springframework.context.ApplicationContextstatic org.springframework.beans.factory.support.DefaultListableBeanFactory -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidstatic Objectstatic voidregisterBean(String beanName, Class<?> clazz) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
字段详细资料
-
defaultListableBeanFactory
public static org.springframework.beans.factory.support.DefaultListableBeanFactory defaultListableBeanFactory -
applicationContexts
public static org.springframework.context.ApplicationContext applicationContexts
-
-
构造器详细资料
-
BeanManager
public BeanManager()
-
-
方法详细资料
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - 指定者:
setApplicationContext在接口中org.springframework.context.ApplicationContextAware- 抛出:
org.springframework.beans.BeansException
-
registerBean
-
getAllBeanString
public static void getAllBeanString() -
getBean
-