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, toString
public CustomerPersistedEvent(Customer customer)
customer
- the newly persisted customerpublic Customer getCustomer()
Customer
set by the CustomerPersistedEntityListener
Copyright © 2019. All rights reserved.