public class ComponentDescriptorAddedEvent extends AbstractComponentDescriptorEvent
The event also send the following parameters:
org.xwiki.component.manager.ComponentManager where the component was registeredorg.xwiki.component.descriptor.ComponentDescriptor instance| Constructor and Description |
|---|
ComponentDescriptorAddedEvent()
Watches all roles (whenever a component is added it'll trigger this event).
|
ComponentDescriptorAddedEvent(Class<?> role)
Deprecated.
since 4.4RC1 use
ComponentDescriptorAddedEvent(Type) instead |
ComponentDescriptorAddedEvent(Class<?> role,
String roleHint)
Deprecated.
since 4.4RC1 use
ComponentDescriptorAddedEvent(Type, String) instead |
ComponentDescriptorAddedEvent(Type roleType) |
ComponentDescriptorAddedEvent(Type roleType,
String roleHint) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Object otherEvent) |
equals, getRole, getRoleHint, getRoleType, hashCode, toStringpublic ComponentDescriptorAddedEvent()
@Deprecated public ComponentDescriptorAddedEvent(Class<?> role)
ComponentDescriptorAddedEvent(Type) insteadrole - the component role to watch (all components matching this role will trigger this event)public ComponentDescriptorAddedEvent(Type roleType)
roleType - the component role to watch (all components matching this role will trigger this event)@Deprecated public ComponentDescriptorAddedEvent(Class<?> role, String roleHint)
ComponentDescriptorAddedEvent(Type, String) insteadrole - the component role to watchroleHint - the component role hint to watchpublic boolean matches(Object otherEvent)
matches in interface Eventmatches in class AbstractComponentDescriptorEventCopyright © 2004–2016 XWiki. All rights reserved.