Class InstanceRegisteredEvent<T>
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.cloud.client.discovery.event.InstanceRegisteredEvent<T>
- Type Parameters:
T
- - type of configuration
- All Implemented Interfaces:
Serializable
public class InstanceRegisteredEvent<T>
extends org.springframework.context.ApplicationEvent
Event to be published after the local service instance registers itself with a
discovery service.
- Author:
- Spencer Gibb
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionInstanceRegisteredEvent
(Object source, T config) Creates a newInstanceRegisteredEvent
instance. -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
InstanceRegisteredEvent
Creates a newInstanceRegisteredEvent
instance.- Parameters:
source
- The component that published the event (nevernull
).config
- The configuration of the instance.
-
-
Method Details
-
getConfig
-