Class SpringLoaderBeanPostProcessor

java.lang.Object
com.netflix.spinnaker.kork.plugins.api.spring.SpringLoaderBeanPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

public class SpringLoaderBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
Promotes ExposeToApp and RestControllers from a plugin to the application's context.
  • Constructor Details

    • SpringLoaderBeanPostProcessor

      public SpringLoaderBeanPostProcessor(org.springframework.context.support.GenericApplicationContext pluginContext, BeanPromoter beanPromoter)
  • Method Details

    • postProcessAfterInitialization

      public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Throws:
      org.springframework.beans.BeansException