Class AbstractParser<T extends Limiter<?>,V extends Annotation>

java.lang.Object
org.aoju.bus.limiter.support.rate.AbstractParser<T,V>
All Implemented Interfaces:
Parser<T>
Direct Known Subclasses:
LockAnnotationParser, PeakLimiterAnnotationParser, RateLimiterAnnotationParser

public abstract class AbstractParser<T extends Limiter<?>,V extends Annotation> extends Object implements Parser<T>
Since:
Java 17+
Version:
6.5.0
Author:
Kimi Liu
  • Constructor Details

    • AbstractParser

      public AbstractParser()
  • Method Details

    • getSupportAnnotation

      public Class<Annotation> getSupportAnnotation()
      Specified by:
      getSupportAnnotation in interface Parser<T extends Limiter<?>>
    • getLimiter

      public String getLimiter(org.springframework.core.annotation.AnnotationAttributes attributes)
    • getKey

      public String getKey(org.springframework.core.annotation.AnnotationAttributes attributes)
    • getFallback

      public String getFallback(org.springframework.core.annotation.AnnotationAttributes attributes)
    • getErrorHandler

      public String getErrorHandler(org.springframework.core.annotation.AnnotationAttributes attributes)
    • getArgumentInjectors

      public Collection<String> getArgumentInjectors(org.springframework.core.annotation.AnnotationAttributes attributes)