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
ConstructorsConstructorDescriptionRepositoriesPopulatedEvent(RepositoryPopulator populator, Repositories repositories) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns theRepositoriesthat were populated.inthashCode()Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
RepositoriesPopulatedEvent
- Parameters:
populator- theRepositoryPopulatorthat threw the event, must not be null.repositories- theRepositoriesthat were populated, must not be null.
-
-
Method Details
-
getSource
- Overrides:
getSourcein classEventObject
-
getRepositories
Returns theRepositoriesthat were populated.- Returns:
- the repositories will never be null.
-
equals
-
hashCode
public int hashCode()
-