org.hibernate.search.engine.metadata.impl
Class AnnotationMetadataProvider
java.lang.Object
org.hibernate.search.engine.metadata.impl.AnnotationMetadataProvider
- All Implemented Interfaces:
- MetadataProvider
public class AnnotationMetadataProvider
- extends Object
- implements MetadataProvider
A metadata provider which extracts the required information from annotations.
- Author:
- Hardy Ferentschik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationMetadataProvider
public AnnotationMetadataProvider(org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager,
ConfigContext configContext)
getTypeMetadataFor
public TypeMetadata getTypeMetadataFor(Class<?> clazz)
- Description copied from interface:
MetadataProvider
- Returns the Search related metadata for the specified type.
- Specified by:
getTypeMetadataFor
in interface MetadataProvider
- Parameters:
clazz
- The type of interest.
- Returns:
- the
TypeMetadata
for the specified type
checkDocumentId
protected void checkDocumentId(org.hibernate.annotations.common.reflection.XProperty member,
TypeMetadata.Builder typeMetadataBuilder,
boolean isRoot,
String prefix,
ConfigContext configContext,
org.hibernate.search.engine.metadata.impl.AnnotationMetadataProvider.PathsContext pathsContext,
AnnotationMetadataProvider.ParseContext parseContext)
Copyright © 2006-2013 Red Hat Middleware, LLC. All Rights Reserved