public class SpacePermissionManagerFactory extends Object implements org.springframework.beans.factory.FactoryBean
Constructor and Description |
---|
SpacePermissionManagerFactory(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar,
CoarseGrainedCachingSpacePermissionManager coarseGrainedCachingSpacePermissionManager,
CachingSpacePermissionManager cachingSpacePermissionManager,
com.atlassian.util.concurrent.Supplier<DarkFeaturesManager> darkFeaturesManager,
org.springframework.transaction.PlatformTransactionManager platformTransactionManager) |
Modifier and Type | Method and Description |
---|---|
Object |
getObject() |
Class |
getObjectType() |
boolean |
isSingleton() |
void |
onApplicationStartedEvent(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event) |
void |
onSiteDarkFeatureDisabledEvent(SiteDarkFeatureDisabledEvent event) |
void |
onSiteDarkFeatureEnabledEvent(SiteDarkFeatureEnabledEvent event) |
void |
registerForEvents() |
void |
unregisterForEvents() |
public SpacePermissionManagerFactory(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, CoarseGrainedCachingSpacePermissionManager coarseGrainedCachingSpacePermissionManager, CachingSpacePermissionManager cachingSpacePermissionManager, com.atlassian.util.concurrent.Supplier<DarkFeaturesManager> darkFeaturesManager, org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
@PostConstruct public void registerForEvents()
@PreDestroy public void unregisterForEvents()
@EventListener public void onSiteDarkFeatureEnabledEvent(SiteDarkFeatureEnabledEvent event)
@EventListener public void onSiteDarkFeatureDisabledEvent(SiteDarkFeatureDisabledEvent event)
@EventListener public void onApplicationStartedEvent(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
public Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
Copyright © 2003–2016 Atlassian. All rights reserved.