Class PreprocessorInfo

java.lang.Object
org.apache.felix.http.base.internal.runtime.AbstractInfo<T>
org.apache.felix.http.base.internal.runtime.WhiteboardServiceInfo<org.osgi.service.servlet.whiteboard.Preprocessor>
org.apache.felix.http.base.internal.runtime.PreprocessorInfo
All Implemented Interfaces:
Comparable<AbstractInfo<org.osgi.service.servlet.whiteboard.Preprocessor>>

public class PreprocessorInfo extends WhiteboardServiceInfo<org.osgi.service.servlet.whiteboard.Preprocessor>
Provides registration information for a Preprocessor.

This class only provides information used at registration time, and as such differs slightly from the corresponding DTO

  • Constructor Details

    • PreprocessorInfo

      public PreprocessorInfo(org.osgi.framework.ServiceReference<org.osgi.service.servlet.whiteboard.Preprocessor> ref)
  • Method Details

    • getInitParameters

      public Map<String,String> getInitParameters()
      Returns an immutable map of the init parameters.
    • getType

      @NotNull public String getType()
      Description copied from class: AbstractInfo
      Get the type represented by this info
      Specified by:
      getType in class AbstractInfo<org.osgi.service.servlet.whiteboard.Preprocessor>
      Returns:
      The type
    • getClassName

      @NotNull public String getClassName(@NotNull org.osgi.service.servlet.whiteboard.Preprocessor preprocessor)
      Get the class name of the preprocessor
      Parameters:
      preprocessor - The preprocesor
      Returns:
      The class name
    • isSame

      public boolean isSame(AbstractInfo<org.osgi.service.servlet.whiteboard.Preprocessor> other)
      Description copied from class: AbstractInfo
      Compare two info objects
      Overrides:
      isSame in class WhiteboardServiceInfo<org.osgi.service.servlet.whiteboard.Preprocessor>