com.atlassian.confluence.user.crowd
Class ConfluenceDirectoryEventListener.ClusterDirectoryEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by com.atlassian.event.Event
              extended by com.atlassian.confluence.event.events.ConfluenceEvent
                  extended by com.atlassian.confluence.user.crowd.ConfluenceDirectoryEventListener.ClusterDirectoryEvent
All Implemented Interfaces:
ClusterEvent, 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
 
Constructor Summary
protected ConfluenceDirectoryEventListener.ClusterDirectoryEvent(Object src, com.atlassian.crowd.embedded.api.Directory directory)
           
 
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
 

Field Detail

directory

protected final com.atlassian.crowd.embedded.api.Directory directory
Constructor Detail

ConfluenceDirectoryEventListener.ClusterDirectoryEvent

protected ConfluenceDirectoryEventListener.ClusterDirectoryEvent(Object src,
                                                                 com.atlassian.crowd.embedded.api.Directory directory)
Method Detail

getRepublishedEvent

public abstract com.atlassian.crowd.event.DirectoryEvent getRepublishedEvent()
Creates a copy of the event with a null source for republishing locally.



Copyright © 2003-2013 Atlassian. All Rights Reserved.