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 java.lang.Object
implements com.atlassian.plugins.landlord.spi.LandlordRequests, org.springframework.web.context.ServletContextAware, com.atlassian.plugin.osgi.hostcomponents.HostComponentProvider


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(java.lang.String s)
           
 java.util.List<java.lang.String> getTenants()
           
 void provide(com.atlassian.plugin.osgi.hostcomponents.ComponentRegistrar registrar)
           
 void removeTenant(java.lang.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
 

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(java.lang.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

removeTenant

public void removeTenant(java.lang.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 java.util.List<java.lang.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-2014 Atlassian. All Rights Reserved.