Package net.bull.javamelody
Class SpringContext
java.lang.Object
net.bull.javamelody.SpringContext
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class SpringContext
extends Object
implements org.springframework.context.ApplicationContextAware
Enregistrement du context Spring.
- Author:
- Emeric Vernat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SpringContextvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
SpringContext
public SpringContext()Constructeur.
-
-
Method Details
-
getSingleton
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getBeanDefinitionNames
- Returns:
- List des noms de beans Spring.
-
getBean
- Parameters:
name- Nom du bean- Returns:
- Instance du bean
-