Class PluginMappingHandlerMapping

java.lang.Object
eu.rarogsoftware.rarog.platform.core.plugins.web.PluginMappingHandlerMapping
All Implemented Interfaces:
FeatureModule<HandlerMappingDescriptor>, org.springframework.web.servlet.HandlerMapping

@AutoRegisterFeatureModuleComponent(HandlerMappingDescriptor.class) public class PluginMappingHandlerMapping extends Object implements org.springframework.web.servlet.HandlerMapping, FeatureModule<HandlerMappingDescriptor>
  • Field Details

  • Constructor Details

    • PluginMappingHandlerMapping

      public PluginMappingHandlerMapping()
  • Method Details

    • getHandler

      public org.springframework.web.servlet.HandlerExecutionChain getHandler(jakarta.servlet.http.HttpServletRequest request) throws Exception
      Specified by:
      getHandler in interface org.springframework.web.servlet.HandlerMapping
      Throws:
      Exception
    • getHandlerMappings

      public Map<String,org.springframework.web.servlet.HandlerMapping> getHandlerMappings()
    • plugDescriptor

      public void plugDescriptor(Plugin plugin, HandlerMappingDescriptor descriptor)
      Description copied from interface: FeatureModule
      Registers new descriptor into module. Module will use resources represented by descriptor to provide its functionality as long as descriptor is unplugged.
      Specified by:
      plugDescriptor in interface FeatureModule<HandlerMappingDescriptor>
      Parameters:
      plugin - plugin that is parent of descriptor
      descriptor - feature descriptor to plug
    • unplugDescriptor

      public void unplugDescriptor(Plugin plugin, HandlerMappingDescriptor descriptor)
      Description copied from interface: FeatureModule
      Unregisters new descriptor into module. Module will no longer use resources provided by specified descriptor
      Specified by:
      unplugDescriptor in interface FeatureModule<HandlerMappingDescriptor>
      Parameters:
      plugin - plugin that is parent of descriptor
      descriptor - feature descriptor to unplug