Interface TenantLifecycleFactory
- All Known Implementing Classes:
DefaultIntegrationTenantLifecycleFactory
public interface TenantLifecycleFactory
Defines methods to creating a
TenantLifecycle-
Method Summary
Modifier and TypeMethodDescriptionReturns an instance of theTenantLifecyclefor the specified tenant.
-
Method Details
-
create
Returns an instance of theTenantLifecyclefor 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.
-