Class TenantScope

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

    @Deprecated(since="5.0",
                forRemoval=true)
    public class TenantScope
    extends java.lang.Object
    implements org.springframework.beans.factory.config.Scope
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 5.0
    Spring scope which manages beans per tenant.
    Since:
    3.1
    • Constructor Summary

      Constructors 
      Constructor Description
      TenantScope()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Object get​(java.lang.String name, org.springframework.beans.factory.ObjectFactory objectFactory)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.String getConversationId()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      Tenant getCurrentTenant()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void init()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void registerDestructionCallback​(java.lang.String theName, java.lang.Runnable callback)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.Object remove​(java.lang.String theName)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.Object resolveContextualObject​(java.lang.String key)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

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

      • TenantScope

        public TenantScope()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • init

        @PostConstruct
        public void init()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • get

        public java.lang.Object get​(java.lang.String name,
                                    org.springframework.beans.factory.ObjectFactory objectFactory)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        get in interface org.springframework.beans.factory.config.Scope
      • getConversationId

        public java.lang.String getConversationId()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getConversationId in interface org.springframework.beans.factory.config.Scope
      • registerDestructionCallback

        public void registerDestructionCallback​(java.lang.String theName,
                                                java.lang.Runnable callback)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        registerDestructionCallback in interface org.springframework.beans.factory.config.Scope
      • resolveContextualObject

        public java.lang.Object resolveContextualObject​(java.lang.String key)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        resolveContextualObject in interface org.springframework.beans.factory.config.Scope
      • remove

        public java.lang.Object remove​(java.lang.String theName)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        remove in interface org.springframework.beans.factory.config.Scope
      • getCurrentTenant

        public Tenant getCurrentTenant()
        Deprecated, for removal: This API element is subject to removal in a future version.