Class ComponentDescriptorRemovedEvent

  • All Implemented Interfaces:
    ComponentDescriptorEvent, Event

    public class ComponentDescriptorRemovedEvent
    extends AbstractComponentDescriptorEvent
    Event sent to tell that a new Component Descriptor has been unregistered.

    The event also send the following parameters:

    • source: the ComponentManager where the component was registered
    • data: the ComponentDescriptor instance
    Since:
    2.6RC2
    Version:
    $Id: d058a5a9f3aff33bb9d9c287e35ce8b5856d4971 $
    • Constructor Detail

      • ComponentDescriptorRemovedEvent

        public ComponentDescriptorRemovedEvent()
        Watches all roles (whenever a component is added it'll trigger this event).
      • ComponentDescriptorRemovedEvent

        public ComponentDescriptorRemovedEvent​(Class<?> role)
        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

        public ComponentDescriptorRemovedEvent​(Class<?> role,
                                               String roleHint)
        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