public class DelegateActivitiEventListener extends BaseDelegateEventListener
ActivitiEventListener
implementation which uses a classname to
create a delegate ActivitiEventListener
instance to use for event notification.
ActivitiEntityEvent
's
that target an entity of the given type, are dispatched to the delegate.Modifier and Type | Field and Description |
---|---|
protected String |
className |
protected ActivitiEventListener |
delegateInstance |
protected boolean |
failOnException |
entityClass
Constructor and Description |
---|
DelegateActivitiEventListener(String className,
Class<?> entityClass) |
Modifier and Type | Method and Description |
---|---|
protected ActivitiEventListener |
getDelegateInstance() |
boolean |
isFailOnException() |
void |
onEvent(ActivitiEvent event)
Called when an event has been fired
|
isValidEvent, setEntityClass
protected String className
protected ActivitiEventListener delegateInstance
protected boolean failOnException
public void onEvent(ActivitiEvent event)
ActivitiEventListener
event
- the eventpublic boolean isFailOnException()
protected ActivitiEventListener getDelegateInstance()
Copyright © 2016 Alfresco. All rights reserved.