Module marid.spring

Class ResettableScope

java.lang.Object
org.marid.spring.scope.ResettableScope
All Implemented Interfaces:
org.springframework.beans.factory.config.Scope

public class ResettableScope
extends Object
implements org.springframework.beans.factory.config.Scope
  • Constructor Details

  • Method Details

    • get

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

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

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

      public Object resolveContextualObject​(@NotNull @NotNull 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
    • reset

      public void reset() throws ScopeResetException
      Throws:
      ScopeResetException
    • toString

      public String toString()
      Overrides:
      toString in class Object