public class ComponentDescriptorRemovedEvent extends AbstractComponentDescriptorEvent
The event also send the following parameters:
org.xwiki.component.manager.ComponentManager
where the component was registeredorg.xwiki.component.descriptor.ComponentDescriptor
instanceConstructor 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, toString
public 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 Event
matches
in class AbstractComponentDescriptorEvent
Copyright © 2004–2016 XWiki. All rights reserved.