Class PluginResourceHandlerRegistrationCustomizer

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.context.ApplicationListener<org.laxture.sbp.spring.boot.SbpPluginStateChangedEvent>

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void customize​(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration registration)  
      void onApplicationEvent​(org.laxture.sbp.spring.boot.SbpPluginStateChangedEvent event)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PluginResourceHandlerRegistrationCustomizer

        public PluginResourceHandlerRegistrationCustomizer()
    • Method Detail

      • 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>