T - the payload type of the eventpublic class PayloadApplicationEvent<T> extends ApplicationEvent implements org.springframework.core.ResolvableTypeProvider
ApplicationEvent that carries an arbitrary payload.
Mainly intended for internal use within the framework.
source| 构造器和说明 |
|---|
PayloadApplicationEvent(Object source,
T payload)
Create a new PayloadApplicationEvent.
|
| 限定符和类型 | 方法和说明 |
|---|---|
T |
getPayload()
Return the payload of the event.
|
org.springframework.core.ResolvableType |
getResolvableType() |
getTimestampgetSource, toStringpublic org.springframework.core.ResolvableType getResolvableType()
getResolvableType 在接口中 org.springframework.core.ResolvableTypeProviderpublic T getPayload()