Interface TenantLifecycleFactory

All Known Implementing Classes:
DefaultIntegrationTenantLifecycleFactory

public interface TenantLifecycleFactory
Defines methods to creating a TenantLifecycle
  • Method Summary

    Modifier and Type
    Method
    Description
    create(@NotNull Tenant tenant)
    Returns an instance of the TenantLifecycle for the specified tenant.
  • Method Details

    • create

      TenantLifecycle create(@NotNull @NotNull Tenant tenant)
      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.
      Parameters:
      tenant - The lifecycle created is running under the given tenant.
      Returns:
      a non-null instance of the lifecycle for the tenant.