Class WebDeviceScope

  • All Implemented Interfaces:
    org.springframework.beans.factory.config.Scope

    public class WebDeviceScope
    extends Object
    implements org.springframework.beans.factory.config.Scope
    • Constructor Detail

      • WebDeviceScope

        public WebDeviceScope()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
      • 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
      • dispose

        public boolean dispose()
        Reset all instances in the scope.
        Returns:
        true if items were reset
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • registerScope

        public static WebDeviceScope registerScope​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory registry)
      • scope

        public static WebDeviceScope scope​(org.springframework.context.ApplicationContext context)