|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.component.event.AbstractComponentDescriptorEvent
org.xwiki.component.event.ComponentDescriptorAddedEvent
public class ComponentDescriptorAddedEvent
Event sent to tell that a new Component Descriptor has been registered.
| Constructor Summary | |
|---|---|
ComponentDescriptorAddedEvent()
Watches all roles (whenever a component is added it'll trigger this event). |
|
ComponentDescriptorAddedEvent(java.lang.Class<?> role)
|
|
ComponentDescriptorAddedEvent(java.lang.Class<?> role,
java.lang.String roleHint)
|
|
| Method Summary | |
|---|---|
boolean |
matches(java.lang.Object otherEvent)
|
| Methods inherited from class org.xwiki.component.event.AbstractComponentDescriptorEvent |
|---|
getRole, getRoleHint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentDescriptorAddedEvent()
public ComponentDescriptorAddedEvent(java.lang.Class<?> role)
role - the component role to watch (all components matching this role will trigger this event)
public ComponentDescriptorAddedEvent(java.lang.Class<?> role,
java.lang.String roleHint)
role - the component role to watchroleHint - the component role hint to watch| Method Detail |
|---|
public boolean matches(java.lang.Object otherEvent)
matches in interface Eventmatches in class AbstractComponentDescriptorEventAbstractComponentDescriptorEvent.matches(java.lang.Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||