org.xwiki.component.event
Class ComponentDescriptorAddedEvent
java.lang.Object
org.xwiki.component.event.AbstractComponentDescriptorEvent
org.xwiki.component.event.ComponentDescriptorAddedEvent
- All Implemented Interfaces:
- ComponentDescriptorEvent, Event
public class ComponentDescriptorAddedEvent
- extends AbstractComponentDescriptorEvent
Event sent to tell that a new Component Descriptor has been registered.
- Since:
- 2.6RC2
- Version:
- $Id: e4464b35a381194d8bdfdad2c23253cbc96507c8 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentDescriptorAddedEvent
public ComponentDescriptorAddedEvent()
- Watches all roles (whenever a component is added it'll trigger this event).
ComponentDescriptorAddedEvent
public ComponentDescriptorAddedEvent(Class<?> role)
- Parameters:
role - the component role to watch (all components matching this role will trigger this event)
ComponentDescriptorAddedEvent
public ComponentDescriptorAddedEvent(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.