public class ComponentDescriptorRemovedEvent extends AbstractComponentDescriptorEvent
The event also send the following parameters:
org.xwiki.component.descriptor.ComponentDescriptor instanceorg.xwiki.component.manager.ComponentManager where the component was registered| Constructor and Description |
|---|
ComponentDescriptorRemovedEvent()
Watches all roles (whenever a component is added it'll trigger this event).
|
ComponentDescriptorRemovedEvent(Class<?> role)
Deprecated.
since 4.4RC1 use
ComponentDescriptorRemovedEvent(Type) instead |
ComponentDescriptorRemovedEvent(Class<?> role,
String roleHint)
Deprecated.
since 4.4RC1 use
ComponentDescriptorRemovedEvent(Type, String) instead |
ComponentDescriptorRemovedEvent(Type roleType) |
ComponentDescriptorRemovedEvent(Type roleType,
String roleHint) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Object otherEvent) |
equals, getRole, getRoleHint, getRoleType, hashCode, toStringpublic ComponentDescriptorRemovedEvent()
@Deprecated public ComponentDescriptorRemovedEvent(Class<?> role)
ComponentDescriptorRemovedEvent(Type) insteadrole - the component role to watch (all components matching this role will trigger this event)public ComponentDescriptorRemovedEvent(Type roleType)
roleType - the component role to watch (all components matching this role will trigger this event)@Deprecated public ComponentDescriptorRemovedEvent(Class<?> role, String roleHint)
ComponentDescriptorRemovedEvent(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–2014 XWiki. All rights reserved.