public abstract class AbstractRepositoryAnnotator extends Object implements RepositoryAnnotator, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
ANNOTATOR_PREFIX| Constructor and Description |
|---|
AbstractRepositoryAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Entity> |
annotate(Iterable<Entity> sourceIterable) |
abstract List<Entity> |
annotateEntity(Entity entity) |
protected abstract boolean |
annotationDataExists()
Checks if folder and files that were set with a runtime property actually exist, or if a webservice can be
reached
|
String |
canAnnotate(EntityMetaData repoMetaData) |
String |
getFullName() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getInputMetaData, getOutputMetaData, getSimpleNamepublic void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>public String canAnnotate(EntityMetaData repoMetaData)
canAnnotate in interface RepositoryAnnotatorprotected abstract boolean annotationDataExists()
@Transactional public Iterator<Entity> annotate(Iterable<Entity> sourceIterable)
annotate in interface RepositoryAnnotatorpublic abstract List<Entity> annotateEntity(Entity entity) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String getFullName()
getFullName in interface RepositoryAnnotatorCopyright © 2015. All Rights Reserved.