Class WebListenerMapper

java.lang.Object
io.micronaut.servlet.annotation.processor.WebListenerMapper
All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationMapper<jakarta.servlet.annotation.WebListener>, io.micronaut.inject.annotation.TypedAnnotationMapper<jakarta.servlet.annotation.WebListener>

public class WebListenerMapper extends Object implements io.micronaut.inject.annotation.TypedAnnotationMapper<jakarta.servlet.annotation.WebListener>
Allows registering web listeners as beans.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<jakarta.servlet.annotation.WebListener>
     
    List<io.micronaut.core.annotation.AnnotationValue<?>>
    map(io.micronaut.core.annotation.AnnotationValue<jakarta.servlet.annotation.WebListener> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebListenerMapper

      public WebListenerMapper()
  • Method Details

    • annotationType

      public Class<jakarta.servlet.annotation.WebListener> annotationType()
      Specified by:
      annotationType in interface io.micronaut.inject.annotation.TypedAnnotationMapper<jakarta.servlet.annotation.WebListener>
    • map

      public List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<jakarta.servlet.annotation.WebListener> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
      Specified by:
      map in interface io.micronaut.inject.annotation.AnnotationMapper<jakarta.servlet.annotation.WebListener>