从spring容器中获取已经创建好的对象

ContextLoaderListener.getCurrentWebApplicationContext ().getBean ("beanName");


你可能感兴趣的:(从spring容器中获取已经创建好的对象)