public class DelegateExpressionActivitiEventListener extends BaseDelegateEventListener
ActivitiEventListener
implementation which resolves an expression
to a delegate ActivitiEventListener
instance and uses this 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 Expression |
expression |
protected boolean |
failOnException |
entityClass
Constructor and Description |
---|
DelegateExpressionActivitiEventListener(Expression expression,
Class<?> entityClass) |
Modifier and Type | Method and Description |
---|---|
boolean |
isFailOnException() |
void |
onEvent(ActivitiEvent event)
Called when an event has been fired
|
isValidEvent, setEntityClass
protected Expression expression
protected boolean failOnException
public DelegateExpressionActivitiEventListener(Expression expression, Class<?> entityClass)
public void onEvent(ActivitiEvent event)
ActivitiEventListener
event
- the eventpublic boolean isFailOnException()
Copyright © 2016 Alfresco. All rights reserved.