org.xwiki.component.event
Class ComponentDescriptorRemovedEvent

java.lang.Object
  extended by org.xwiki.component.event.AbstractComponentDescriptorEvent
      extended by 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 $

Constructor Summary
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)
           
 
Method Summary
 boolean matches(Object otherEvent)
           
 
Methods inherited from class org.xwiki.component.event.AbstractComponentDescriptorEvent
equals, getRole, getRoleHint, getRoleType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 watch
roleHint - the component role hint to watch

ComponentDescriptorRemovedEvent

public ComponentDescriptorRemovedEvent(Type roleType,
                                       String roleHint)
Parameters:
roleType - the component role to watch
roleHint - the component role hint to watch
Since:
4.4RC1
Method Detail

matches

public boolean matches(Object otherEvent)
Specified by:
matches in interface Event
Overrides:
matches in class AbstractComponentDescriptorEvent


Copyright © 2004-2013 XWiki. All Rights Reserved.