Class SpringLoader

java.lang.Object
com.netflix.spinnaker.kork.plugins.api.spring.SpringLoader
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class SpringLoader extends Object implements org.springframework.context.ApplicationContextAware
Configures a plugin context. Also allows for package scanning and bean promotion from a plugin to the application's context.
  • Constructor Details

    • SpringLoader

      public SpringLoader(org.springframework.context.annotation.AnnotationConfigApplicationContext pluginContext, ClassLoader pluginClassLoader, List<String> packagesToScan, List<Class> classesToRegister)
  • Method Details

    • 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