public class SwitchableTokenManagerSystemListener extends Object
Constructor and Description |
---|
SwitchableTokenManagerSystemListener(com.atlassian.event.api.EventListenerRegistrar eventPublisher,
SwitchableTokenManager switchableTokenManager) |
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
On the application started event, switch to the correct token storage
|
void |
handleEvent(XMLRestoreFinishedEvent event) |
public SwitchableTokenManagerSystemListener(com.atlassian.event.api.EventListenerRegistrar eventPublisher, SwitchableTokenManager switchableTokenManager)
@EventListener public void handleEvent(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
event
- the application started event@EventListener public void handleEvent(XMLRestoreFinishedEvent event)
Copyright © 2020 Atlassian. All rights reserved.