public class DefaultTenantManager extends Object implements TenantManager
| Constructor and Description |
|---|
DefaultTenantManager(ApplicationProperties applicationProperties,
TenancyCondition tenancyCondition,
JiraTenantAccessor jiraTenantAccessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInstantiation() |
void |
doNowOrWhenTenantArrives(Runnable runnable,
String description)
Run this function immediately if there is a tenant.
|
boolean |
isTenanted() |
ServiceResult |
tenantArrived()
Called when a tenant arrives via DefaultLandlordRequests
|
public DefaultTenantManager(ApplicationProperties applicationProperties, TenancyCondition tenancyCondition, JiraTenantAccessor jiraTenantAccessor)
public void doNowOrWhenTenantArrives(Runnable runnable, String description)
TenantManagerdoNowOrWhenTenantArrives in interface TenantManagerrunnable - the function to rundescription - description of the functionpublic ServiceResult tenantArrived()
TenantManagertenantArrived in interface TenantManagerpublic boolean isTenanted()
isTenanted in interface TenantManagerpublic void afterInstantiation()
throws Exception
afterInstantiation in interface InitializingComponentExceptionCopyright © 2002-2017 Atlassian. All Rights Reserved.