Class DefaultIntegrationTenantLifecycleFactory

java.lang.Object
de.hybris.platform.integrationservices.util.lifecycle.impl.DefaultIntegrationTenantLifecycleFactory
All Implemented Interfaces:
TenantLifecycleFactory

public class DefaultIntegrationTenantLifecycleFactory extends Object implements TenantLifecycleFactory
  • Constructor Details

    • DefaultIntegrationTenantLifecycleFactory

      public DefaultIntegrationTenantLifecycleFactory()
  • Method Details

    • create

      public TenantLifecycle create(@NotNull @NotNull Tenant tenant)
      Description copied from interface: TenantLifecycleFactory
      Returns an instance of the TenantLifecycle for the specified tenant. This interface does not guarantee a new instance creation for every invocation. It's up to the implementations to create a new instance for every call or to use some cached value.
      Specified by:
      create in interface TenantLifecycleFactory
      Parameters:
      tenant - The lifecycle created is running under the given tenant.
      Returns:
      a non-null instance of the lifecycle for the tenant.