Class PluginResourceHandlerRegistrationCustomizer
- java.lang.Object
-
- org.springframework.boot.autoconfigure.web.servlet.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.
-
-
Constructor Summary
Constructors Constructor Description PluginResourceHandlerRegistrationCustomizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcustomize(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration registration)voidonApplicationEvent(org.laxture.sbp.spring.boot.SbpPluginStateChangedEvent event)
-
-
-
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:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.laxture.sbp.spring.boot.SbpPluginStateChangedEvent>
-
-