Package de.uniba.minf.registry.config.db
Class VocabularyEntryEventListener
java.lang.Object
org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener<de.uniba.minf.registry.model.vocabulary.VocabularyEntry>
de.uniba.minf.registry.config.db.VocabularyEntryEventListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent<?>>
@Configuration
public class VocabularyEntryEventListener
extends org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener<de.uniba.minf.registry.model.vocabulary.VocabularyEntry>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonBeforeConvert(org.springframework.data.mongodb.core.mapping.event.BeforeConvertEvent<de.uniba.minf.registry.model.vocabulary.VocabularyEntry> event) Methods inherited from class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
onAfterConvert, onAfterDelete, onAfterLoad, onAfterSave, onApplicationEvent, onBeforeDelete, onBeforeSaveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
VocabularyEntryEventListener
public VocabularyEntryEventListener()
-
-
Method Details
-
onBeforeConvert
public void onBeforeConvert(org.springframework.data.mongodb.core.mapping.event.BeforeConvertEvent<de.uniba.minf.registry.model.vocabulary.VocabularyEntry> event) - Overrides:
onBeforeConvertin classorg.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener<de.uniba.minf.registry.model.vocabulary.VocabularyEntry>
-