public class CouchbasePersistentEntityIndexCreator extends Object implements ApplicationListener<MappingContextEvent<?,?>>
Constructor and Description |
---|
CouchbasePersistentEntityIndexCreator(CouchbaseMappingContext mappingContext,
CouchbaseOperations operations) |
Modifier and Type | Method and Description |
---|---|
boolean |
isIndexCreatorFor(MappingContext<?,?> context)
Returns whether the current index creator was registered for the given
MappingContext . |
void |
onApplicationEvent(MappingContextEvent<?,?> event) |
public CouchbasePersistentEntityIndexCreator(CouchbaseMappingContext mappingContext, CouchbaseOperations operations)
public void onApplicationEvent(MappingContextEvent<?,?> event)
onApplicationEvent
in interface ApplicationListener<MappingContextEvent<?,?>>
public boolean isIndexCreatorFor(MappingContext<?,?> context)
MappingContext
.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.