public class TenantListener extends OperatorListener<Tenant> implements org.springframework.context.ApplicationEventPublisherAware
| 构造器和说明 |
|---|
TenantListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
postUpdate(Tenant entity) |
void |
prePersist(Tenant entity) |
void |
preUpdate(Tenant entity) |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
void |
trail(org.springframework.data.history.RevisionMetadata.RevisionType type,
Tenant entity) |
beforeInsert, beforeUpdatepublic void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher 在接口中 org.springframework.context.ApplicationEventPublisherAwarepublic void prePersist(Tenant entity)
public void preUpdate(Tenant entity)
public void postUpdate(Tenant entity)
public void trail(org.springframework.data.history.RevisionMetadata.RevisionType type,
Tenant entity)