T
- - type of configurationpublic class InstanceRegisteredEvent<T>
extends org.springframework.context.ApplicationEvent
source
Constructor and Description |
---|
InstanceRegisteredEvent(Object source,
T config)
Creates a new
InstanceRegisteredEvent instance. |
Modifier and Type | Method and Description |
---|---|
T |
getConfig() |
getSource, toString
public InstanceRegisteredEvent(Object source, T config)
InstanceRegisteredEvent
instance.source
- The component that published the event (never null
).config
- The configuration of the instance.public T getConfig()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.