public class CustomerPersistedEvent
extends org.springframework.context.ApplicationEvent
CustomerImpl has been persistedCustomerPersistedEntityListener},
Serialized Formsource| Constructor and Description |
|---|
CustomerPersistedEvent(Customer customer) |
| Modifier and Type | Method and Description |
|---|---|
Customer |
getCustomer()
Gets the newly-persisted
Customer set by the CustomerPersistedEntityListener |
getSource, toStringpublic CustomerPersistedEvent(Customer customer)
customer - the newly persisted customerpublic Customer getCustomer()
Customer set by the CustomerPersistedEntityListenerCopyright © 2019. All rights reserved.