com.atlassian.confluence.user.crowd
Class ConfluenceDirectoryEventListener.ClusterDirectoryEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.confluence.event.events.ConfluenceEvent
com.atlassian.confluence.user.crowd.ConfluenceDirectoryEventListener.ClusterDirectoryEvent
- All Implemented Interfaces:
- ClusterEvent, java.io.Serializable
- Direct Known Subclasses:
- ConfluenceDirectoryEventListener.ClusterDirectoryDeletedEvent, ConfluenceDirectoryEventListener.ClusterDirectoryUpdatedEvent
- Enclosing class:
- ConfluenceDirectoryEventListener
protected abstract static class ConfluenceDirectoryEventListener.ClusterDirectoryEvent
- extends ConfluenceEvent
- implements ClusterEvent
Crowd's event classes are not Serializable, so we need to extract the event class and directory, then
reconstruct the event on the other nodes.
- See Also:
- Serialized Form
Field Summary |
protected com.atlassian.crowd.embedded.api.Directory |
directory
|
Fields inherited from class java.util.EventObject |
source |
Method Summary |
abstract com.atlassian.crowd.event.DirectoryEvent |
getRepublishedEvent()
Creates a copy of the event with a null source for republishing locally. |
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
directory
protected final com.atlassian.crowd.embedded.api.Directory directory
ConfluenceDirectoryEventListener.ClusterDirectoryEvent
protected ConfluenceDirectoryEventListener.ClusterDirectoryEvent(java.lang.Object src,
com.atlassian.crowd.embedded.api.Directory directory)
getRepublishedEvent
public abstract com.atlassian.crowd.event.DirectoryEvent getRepublishedEvent()
- Creates a copy of the event with a
null
source for republishing locally.
Copyright © 2003-2014 Atlassian. All Rights Reserved.