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 Details

    • SpringContext

      public SpringContext()
      Constructeur.
  • Method Details

    • getSingleton

      public static SpringContext getSingleton()
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • getBeanDefinitionNames

      public List<String> getBeanDefinitionNames()
      Returns:
      List des noms de beans Spring.
    • getBean

      public Object getBean(String name)
      Parameters:
      name - Nom du bean
      Returns:
      Instance du bean