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: a84e407900b04a5a282029812fc25c439a57099e $
ComponentDescriptorRemovedEvent
public ComponentDescriptorRemovedEvent()
- Watches all roles (whenever a component is added it'll trigger this event).
ComponentDescriptorRemovedEvent
@Deprecated
public ComponentDescriptorRemovedEvent(Class<?> role)
- Deprecated. since 4.4RC1 use
ComponentDescriptorRemovedEvent(Type)
instead
- Parameters:
role
- the component role to watch (all components matching this role will trigger this event)
ComponentDescriptorRemovedEvent
public ComponentDescriptorRemovedEvent(Type roleType)
- Parameters:
roleType
- the component role to watch (all components matching this role will trigger this event)- Since:
- 4.4RC1
ComponentDescriptorRemovedEvent
@Deprecated
public ComponentDescriptorRemovedEvent(Class<?> role,
String roleHint)
- Deprecated. since 4.4RC1 use
ComponentDescriptorRemovedEvent(Type, String)
instead
- Parameters:
role
- the component role to watchroleHint
- the component role hint to watch
ComponentDescriptorRemovedEvent
public ComponentDescriptorRemovedEvent(Type roleType,
String roleHint)
- Parameters:
roleType
- the component role to watchroleHint
- the component role hint to watch- Since:
- 4.4RC1
matches
public boolean matches(Object otherEvent)
- Specified by:
matches
in interface Event
- Overrides:
matches
in class AbstractComponentDescriptorEvent
Copyright © 2004-2013 XWiki. All Rights Reserved.