|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.tenant.SystemTenant
public class SystemTenant
Holder for the system tenant.
This class should be considered a temporary solution on the way to multi-tenancy. It replays the system tenant during the bootstrap container initialisation in case of a tenanted system and will be called bytransitionFromVacantToTenantedState
at the end of the web-based setup in case of a previously vacant system.
Constructor Summary | |
---|---|
SystemTenant(TenantRegistry tenantRegistry,
com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager)
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Replay the system tenant on restart. |
boolean |
arrived()
Signal that the system tenant has arrived, typically done after the AtlassianBootstrapManager.setSetupComplete(boolean)
has been called. |
com.atlassian.fugue.Option<com.atlassian.tenancy.api.Tenant> |
get()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemTenant(TenantRegistry tenantRegistry, com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager)
Method Detail |
---|
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public com.atlassian.fugue.Option<com.atlassian.tenancy.api.Tenant> get()
public boolean arrived()
AtlassianBootstrapManager.setSetupComplete(boolean)
has been called.
get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |