Class InterceptorMapping

java.lang.Object
de.hybris.platform.servicelayer.interceptor.impl.InterceptorMapping
All Implemented Interfaces:
org.springframework.core.Ordered

public class InterceptorMapping extends Object implements org.springframework.core.Ordered
responsible for storing mapping type code configured by setTypeCode(String), assigned interceptor Interceptor and list of replace interceptors
Since:
4.0
  • Constructor Details

  • Method Details

    • getInterceptor

      public Interceptor getInterceptor()
      Gets the configured interceptor.
    • setInterceptor

      public void setInterceptor(Interceptor interceptor)
    • getTypeCode

      public String getTypeCode()
      Gets the configured typecode.
    • setTypeCode

      public void setTypeCode(String typeCode)
    • getReplacedInterceptors

      public Collection<Interceptor> getReplacedInterceptors()
    • setReplacedInterceptors

      public void setReplacedInterceptors(Collection<Interceptor> replacedInterceptors)
    • setOrder

      public final void setOrder(int order)
      Set the ordering which will apply to this class's implementation of Ordered, used when applying multiple Interceptors.

      Default value is Integer.MAX_VALUE, meaning that it's non-ordered.

      Parameters:
      order - ordering value
    • getOrder

      public final int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered