Class TenantScope

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

    @Deprecated
    public class TenantScope
    extends java.lang.Object
    implements org.springframework.beans.factory.config.Scope
    Deprecated.
    since 5.0
    Spring scope which manages beans per tenant.
    Since:
    3.1
    • Constructor Summary

      Constructors 
      Constructor Description
      TenantScope()
      Deprecated.
       
    • Constructor Detail

      • TenantScope

        public TenantScope()
        Deprecated.
    • Method Detail

      • init

        @PostConstruct
        public void init()
        Deprecated.
      • get

        public java.lang.Object get​(java.lang.String name,
                                    org.springframework.beans.factory.ObjectFactory objectFactory)
        Deprecated.
        Specified by:
        get in interface org.springframework.beans.factory.config.Scope
      • getConversationId

        public java.lang.String getConversationId()
        Deprecated.
        Specified by:
        getConversationId in interface org.springframework.beans.factory.config.Scope
      • registerDestructionCallback

        public void registerDestructionCallback​(java.lang.String theName,
                                                java.lang.Runnable callback)
        Deprecated.
        Specified by:
        registerDestructionCallback in interface org.springframework.beans.factory.config.Scope
      • resolveContextualObject

        public java.lang.Object resolveContextualObject​(java.lang.String key)
        Deprecated.
        Specified by:
        resolveContextualObject in interface org.springframework.beans.factory.config.Scope
      • remove

        public java.lang.Object remove​(java.lang.String theName)
        Deprecated.
        Specified by:
        remove in interface org.springframework.beans.factory.config.Scope
      • getCurrentTenant

        public Tenant getCurrentTenant()
        Deprecated.