com.atlassian.studio.jira.lifecycle
Class JiraWebSudoDisabler

java.lang.Object
  extended by com.atlassian.studio.jira.lifecycle.JiraWebSudoDisabler
All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class JiraWebSudoDisabler
extends Object
implements com.atlassian.sal.api.lifecycle.LifecycleAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

Disables JIRA's web sudo, until all products support Web Sudo.


Constructor Summary
JiraWebSudoDisabler(ApplicationProperties jiraApplicationProperties, com.atlassian.event.api.EventPublisher eventPublisher)
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 void onEvent(ClearCacheEvent event)
           
 void onStart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraWebSudoDisabler

public JiraWebSudoDisabler(ApplicationProperties jiraApplicationProperties,
                           com.atlassian.event.api.EventPublisher eventPublisher)
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception

onStart

public void onStart()
Specified by:
onStart in interface com.atlassian.sal.api.lifecycle.LifecycleAware

onEvent

@EventListener
public void onEvent(ClearCacheEvent event)


Copyright © 2002-2012 Atlassian. All Rights Reserved.