com.atlassian.confluence.util.diffs
Class MergerListener
java.lang.Object
com.atlassian.confluence.util.diffs.MergerListener
public class MergerListener
- extends Object
Constructor Summary |
MergerListener(MergerUpdater mergerManager)
This class listens for plugin events and updates the mergerManager when a change has happened. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MergerListener
public MergerListener(MergerUpdater mergerManager)
- This class listens for plugin events and updates the mergerManager when a change has happened.
- Parameters:
mergerManager
- the merger manager to use
handlePluginEvent
@EventListener
public void handlePluginEvent(PluginEvent e)
- Handle the event, will rebuild the cache. Note that this listens to all events, as at the time of implementation
disabling a plugin does not fire a PluginModuleDisabled event.
- Parameters:
e
- PluginEvent all plugin events captured.
handlePluginFrameworkStarted
@EventListener
public void handlePluginFrameworkStarted(PluginFrameworkStartedEvent e)
- This is needed to get any bundled merger into the manager.
- Parameters:
e
- PluginFrameworkStartedEvent indicates that the pluginframework is up and we should update our cache.
Copyright © 2003-2012 Atlassian. All Rights Reserved.