org.xwiki.component.internal
Class StackingComponentEventManager
java.lang.Object
org.xwiki.component.internal.StackingComponentEventManager
- All Implemented Interfaces:
- ComponentEventManager
public class StackingComponentEventManager
- extends java.lang.Object
- implements ComponentEventManager
Allow stacking component events and flush them whenever the user of this class wants to. This is used for example at
application initialization time when we don't want to send events before the Application Context has been initialized
since components subscribing to these events may want to use the Application Context.
- Since:
- 2.0M1
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackingComponentEventManager
public StackingComponentEventManager()
notifyComponentRegistered
public void notifyComponentRegistered(ComponentDescriptor<?> descriptor)
-
- Specified by:
notifyComponentRegistered in interface ComponentEventManager
- See Also:
ComponentEventManager.notifyComponentRegistered(ComponentDescriptor)
notifyComponentUnregistered
public void notifyComponentUnregistered(ComponentDescriptor<?> descriptor)
-
- Specified by:
notifyComponentUnregistered in interface ComponentEventManager
- See Also:
ComponentEventManager.notifyComponentUnregistered(ComponentDescriptor)
flushEvents
public void flushEvents()
shouldStack
public void shouldStack(boolean shouldStack)
setObservationManager
public void setObservationManager(ObservationManager observationManager)
Copyright © 2004-2011 XWiki. All Rights Reserved.