public abstract class AbstractEventGenerator<E extends BaseEntity> extends Object implements IChangeListener<E>
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEventGenerator.DefaultBuilder |
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationEventPublisher |
applicationEventPublisher |
| Constructor and Description |
|---|
AbstractEventGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected NotificationEvent |
createEvent(LOV eventName) |
int |
getOrder() |
protected User |
getPerformer() |
protected User |
getPerformer(E entity) |
protected Map<LOV,IRecipientResolver<E>> |
getRecipientResolvers() |
protected void |
publish(NotificationEvent event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanProcess, getType, isSupported, process@Autowired protected org.springframework.context.ApplicationEventPublisher applicationEventPublisher
public int getOrder()
getOrder in interface IChangeListener<E extends BaseEntity>getOrder in interface org.springframework.core.Orderedprotected void publish(NotificationEvent event)
protected final NotificationEvent createEvent(LOV eventName)
protected Map<LOV,IRecipientResolver<E>> getRecipientResolvers()
protected User getPerformer()
Copyright © 2018–2021 Tesler. All rights reserved.