getNotificationManager has been deprecated and is annotated as such in the java code but no alternative is offered. Is there an alternative or can the code that calls getNotificationManager be deleted?
@Jimmy Quinn Welcome to the community!
Can you please add some more details, like where you are trying to access this interface, and in what class/interface method named 'getNotificationManger' has been deprecated.
It is used in a few places but is defined within PageManager.java. Here at Fujitsu, we control the access to pages for creation, amendment and deletion. We use plugins to control page manipulation. I have searched all the Atlassian code and it is deprecated everywhere it is used.
Have you tried accessing it via ContainerManager (com.atlassian.spring.container.ContainerManager),
NotificationManager notificationManager = (NotificationManager) ContainerManager.getComponent("notificationManager");
I will try this.
Thank you very much.
It looks like you're new here. Sign in or register to get started.