Class PluginLoader

java.lang.Object
org.frankframework.components.plugins.PluginLoader
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class PluginLoader extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.context.SmartLifecycle, org.springframework.context.ApplicationContextAware
  • Constructor Details

    • PluginLoader

      public PluginLoader()
    • PluginLoader

      protected PluginLoader(String pluginDirectory)
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
    • findPlugin

      @Nullable public org.pf4j.PluginWrapper findPlugin(String pluginName)
    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle