com.atlassian.studio.confluence.startup
Class TenantSetup

java.lang.Object
  extended by com.atlassian.studio.confluence.startup.TenantSetup
All Implemented Interfaces:
com.atlassian.plugin.osgi.hostcomponents.HostComponentProvider, com.atlassian.plugins.landlord.spi.LandlordRequests, org.springframework.web.context.ServletContextAware

public class TenantSetup
extends Object
implements com.atlassian.plugins.landlord.spi.LandlordRequests, org.springframework.web.context.ServletContextAware, com.atlassian.plugin.osgi.hostcomponents.HostComponentProvider


Field Summary
static String TIMEZONE_PROPERTY
           
 
Constructor Summary
TenantSetup(TenantRegistry tenantRegistry, com.atlassian.tenancy.api.TenantAccessor tenantAccessor, SettingsManager settingsManager, DarkFeaturesManager darkFeaturesManager, com.atlassian.crowd.embedded.api.CrowdService crowdService, SpacePermissionManager spacePermissionManager, com.atlassian.plugin.PluginController pluginController, ImportExportManager importExportManager, ConfluenceIndexManager indexManager, SpaceManager spaceManager, ConfluenceSidManager sidManager, com.atlassian.bandana.BandanaManager bandanaManager, org.springframework.transaction.PlatformTransactionManager platformTransactionManager, UpgradeManager upgradeManager, SystemTenant systemTenant, com.atlassian.plugin.SplitStartupPluginSystemLifecycle splitStartupPluginSystemLifecycle, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.config.lifecycle.LifecycleManager lifecycleManager, LicenseService licenseService)
           
 
Method Summary
 void acceptTenant(String s)
           
 void acceptTenant(String s, Map<String,String> provisionProperties)
           
 List<String> getTenants()
           
 void provide(com.atlassian.plugin.osgi.hostcomponents.ComponentRegistrar registrar)
           
 void removeTenant(String s)
           
 void setServletContext(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMEZONE_PROPERTY

public static final String TIMEZONE_PROPERTY
See Also:
Constant Field Values
Constructor Detail

TenantSetup

public TenantSetup(TenantRegistry tenantRegistry,
                   com.atlassian.tenancy.api.TenantAccessor tenantAccessor,
                   SettingsManager settingsManager,
                   DarkFeaturesManager darkFeaturesManager,
                   com.atlassian.crowd.embedded.api.CrowdService crowdService,
                   SpacePermissionManager spacePermissionManager,
                   com.atlassian.plugin.PluginController pluginController,
                   ImportExportManager importExportManager,
                   ConfluenceIndexManager indexManager,
                   SpaceManager spaceManager,
                   ConfluenceSidManager sidManager,
                   com.atlassian.bandana.BandanaManager bandanaManager,
                   org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
                   UpgradeManager upgradeManager,
                   SystemTenant systemTenant,
                   com.atlassian.plugin.SplitStartupPluginSystemLifecycle splitStartupPluginSystemLifecycle,
                   com.atlassian.event.api.EventPublisher eventPublisher,
                   com.atlassian.config.lifecycle.LifecycleManager lifecycleManager,
                   LicenseService licenseService)
Method Detail

acceptTenant

public void acceptTenant(String s)
                  throws com.atlassian.plugins.landlord.spi.LandlordRequestException
Specified by:
acceptTenant in interface com.atlassian.plugins.landlord.spi.LandlordRequests
Throws:
com.atlassian.plugins.landlord.spi.LandlordRequestException

acceptTenant

public void acceptTenant(String s,
                         Map<String,String> provisionProperties)
                  throws com.atlassian.plugins.landlord.spi.LandlordRequestException
Specified by:
acceptTenant in interface com.atlassian.plugins.landlord.spi.LandlordRequests
Throws:
com.atlassian.plugins.landlord.spi.LandlordRequestException

removeTenant

public void removeTenant(String s)
                  throws com.atlassian.plugins.landlord.spi.LandlordRequestException
Specified by:
removeTenant in interface com.atlassian.plugins.landlord.spi.LandlordRequests
Throws:
com.atlassian.plugins.landlord.spi.LandlordRequestException

getTenants

public List<String> getTenants()
Specified by:
getTenants in interface com.atlassian.plugins.landlord.spi.LandlordRequests

setServletContext

public void setServletContext(javax.servlet.ServletContext servletContext)
Specified by:
setServletContext in interface org.springframework.web.context.ServletContextAware

provide

public void provide(com.atlassian.plugin.osgi.hostcomponents.ComponentRegistrar registrar)
Specified by:
provide in interface com.atlassian.plugin.osgi.hostcomponents.HostComponentProvider


Copyright © 2003–2015 Atlassian. All rights reserved.