All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.nflow.tests.demo.SpringApplicationContext Maven / Gradle / Ivy

There is a newer version: 10.0.0
Show newest version
package io.nflow.tests.demo;

import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

public class SpringApplicationContext implements ApplicationContextAware {

  static ApplicationContext applicationContext;

  @Override
  @SuppressFBWarnings(value = "ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD", justification = "test code")
  public void setApplicationContext(ApplicationContext applicationContext) {
    SpringApplicationContext.applicationContext = applicationContext;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy