Class SpacePermissionManagerFactory

java.lang.Object
com.atlassian.confluence.impl.security.SpacePermissionManagerFactory
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<SpacePermissionManagerInternal>

@Deprecated(since="9.4", forRemoval=true) public class SpacePermissionManagerFactory extends Object implements org.springframework.beans.factory.FactoryBean<SpacePermissionManagerInternal>
Deprecated, for removal: This API element is subject to removal in a future version.
since 9.4. Use CachingSpacePermissionManager instead.
This factory creates a space permissions manager with the right caching.
Since:
5.9
  • Constructor Details

    • SpacePermissionManagerFactory

      public SpacePermissionManagerFactory(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, CoarseGrainedCachingSpacePermissionManager coarseGrainedCachingSpacePermissionManager, CachingSpacePermissionManager cachingSpacePermissionManager, DarkFeaturesManager darkFeaturesManager, org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • registerForEvents

      @PostConstruct public void registerForEvents()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • unregisterForEvents

      @PreDestroy public void unregisterForEvents()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • onSiteDarkFeatureEnabledEvent

      @EventListener public void onSiteDarkFeatureEnabledEvent(SiteDarkFeatureEnabledEvent event)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • onSiteDarkFeatureDisabledEvent

      @EventListener public void onSiteDarkFeatureDisabledEvent(SiteDarkFeatureDisabledEvent event)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • onApplicationStartedEvent

      @EventListener public void onApplicationStartedEvent(ApplicationStartedEvent event)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getObject

      public SpacePermissionManagerInternal getObject() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<SpacePermissionManagerInternal>
      Throws:
      Exception
    • getObjectType

      public Class getObjectType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<SpacePermissionManagerInternal>
    • isSingleton

      public boolean isSingleton()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<SpacePermissionManagerInternal>