public class CouchbasePersistentEntityIndexCreator extends Object implements ApplicationListener<org.springframework.data.mapping.context.MappingContextEvent<?,?>>
| Constructor and Description |
|---|
CouchbasePersistentEntityIndexCreator(CouchbaseMappingContext mappingContext,
CouchbaseOperations operations) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasSeen(CouchbasePersistentEntity<?> entity) |
boolean |
isIndexCreatorFor(org.springframework.data.mapping.context.MappingContext<?,?> context)
Returns whether the current index creator was registered for the given
MappingContext. |
void |
onApplicationEvent(org.springframework.data.mapping.context.MappingContextEvent<?,?> event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforPayloadpublic CouchbasePersistentEntityIndexCreator(CouchbaseMappingContext mappingContext, CouchbaseOperations operations)
public void onApplicationEvent(org.springframework.data.mapping.context.MappingContextEvent<?,?> event)
onApplicationEvent in interface ApplicationListener<org.springframework.data.mapping.context.MappingContextEvent<?,?>>public boolean isIndexCreatorFor(org.springframework.data.mapping.context.MappingContext<?,?> context)
MappingContext.public boolean hasSeen(CouchbasePersistentEntity<?> entity)
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.