Class TenantScope

java.lang.Object
de.hybris.platform.spring.TenantScope
All Implemented Interfaces:
org.springframework.beans.factory.config.Scope

@Deprecated(since="5.0", forRemoval=true) public class TenantScope extends 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
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String name, org.springframework.beans.factory.ObjectFactory objectFactory)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    remove(String theName)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    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 Details

    • TenantScope

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

    • init

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

      public Object get(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 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(String theName, 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 Object resolveContextualObject(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 Object remove(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.