org.xwiki.component.event
Class ComponentDescriptorRemovedEvent
java.lang.Object
org.xwiki.component.event.AbstractComponentDescriptorEvent
org.xwiki.component.event.ComponentDescriptorRemovedEvent
- All Implemented Interfaces:
- ComponentDescriptorEvent, Event
public class ComponentDescriptorRemovedEvent
- extends AbstractComponentDescriptorEvent
Event sent to tell that a new Component Descriptor has been unregistered.
- Since:
- 2.6RC2
- Version:
- $Id: a647608dd9c8b242123893f1b36c39facce79a5a $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentDescriptorRemovedEvent
public ComponentDescriptorRemovedEvent()
- Watches all roles (whenever a component is added it'll trigger this event).
ComponentDescriptorRemovedEvent
public ComponentDescriptorRemovedEvent(Class<?> role)
- Parameters:
role - the component role to watch (all components matching this role will trigger this event)
ComponentDescriptorRemovedEvent
public ComponentDescriptorRemovedEvent(Class<?> role,
String roleHint)
- Parameters:
role - the component role to watchroleHint - the component role hint to watch
matches
public boolean matches(Object otherEvent)
- Specified by:
matches in interface Event- Overrides:
matches in class AbstractComponentDescriptorEvent
Copyright © 2004-2012 XWiki. All Rights Reserved.