Class AbstractPulsarAnnotationsBeanPostProcessor.ListenerScope

java.lang.Object
org.springframework.pulsar.annotation.AbstractPulsarAnnotationsBeanPostProcessor.ListenerScope
All Implemented Interfaces:
org.springframework.beans.factory.config.Scope
Enclosing class:
AbstractPulsarAnnotationsBeanPostProcessor

public static class AbstractPulsarAnnotationsBeanPostProcessor.ListenerScope extends Object implements org.springframework.beans.factory.config.Scope
  • Constructor Details

    • ListenerScope

      public ListenerScope()
  • Method Details

    • addListener

      public void addListener(String key, Object bean)
    • removeListener

      public void removeListener(String key)
    • get

      public Object get(String name, org.springframework.beans.factory.ObjectFactory<?> objectFactory)
      Specified by:
      get in interface org.springframework.beans.factory.config.Scope
    • remove

      public Object remove(String name)
      Specified by:
      remove in interface org.springframework.beans.factory.config.Scope
    • registerDestructionCallback

      public void registerDestructionCallback(String name, Runnable callback)
      Specified by:
      registerDestructionCallback in interface org.springframework.beans.factory.config.Scope
    • resolveContextualObject

      public Object resolveContextualObject(String key)
      Specified by:
      resolveContextualObject in interface org.springframework.beans.factory.config.Scope
    • getConversationId

      public String getConversationId()
      Specified by:
      getConversationId in interface org.springframework.beans.factory.config.Scope