Class PluginResourceHandlerRegistrationCustomizer

java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.PluginResourceHandlerRegistrationCustomizer
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.laxture.sbp.spring.boot.SbpPluginStateChangedEvent>

public class PluginResourceHandlerRegistrationCustomizer extends Object implements org.springframework.context.ApplicationListener<org.laxture.sbp.spring.boot.SbpPluginStateChangedEvent>
Provide static resources lookup for plugin.
  • Constructor Details

    • PluginResourceHandlerRegistrationCustomizer

      public PluginResourceHandlerRegistrationCustomizer()
  • Method Details

    • customize

      public void customize(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration registration)
    • onApplicationEvent

      public void onApplicationEvent(org.laxture.sbp.spring.boot.SbpPluginStateChangedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.laxture.sbp.spring.boot.SbpPluginStateChangedEvent>