Class RepositoriesPopulatedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.repository.init.RepositoriesPopulatedEvent
- All Implemented Interfaces:
Serializable
ApplicationEvent
being thrown after a RepositoryPopulator
has finished populating the
Repositories
available in the ApplicationContext
.- Author:
- Oliver Gierke
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionRepositoriesPopulatedEvent
(RepositoryPopulator populator, Repositories repositories) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns theRepositories
that were populated.int
hashCode()
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
RepositoriesPopulatedEvent
- Parameters:
populator
- theRepositoryPopulator
that threw the event, must not be null.repositories
- theRepositories
that were populated, must not be null.
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getRepositories
Returns theRepositories
that were populated.- Returns:
- the repositories will never be null.
-
equals
-
hashCode
public int hashCode()
-