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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration registration) voidonApplicationEvent(org.laxture.sbp.spring.boot.SbpPluginStateChangedEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
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:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.laxture.sbp.spring.boot.SbpPluginStateChangedEvent>
-