public class AnnotationMetadataProvider extends Object implements MetadataProvider
| Constructor and Description |
|---|
AnnotationMetadataProvider(org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager,
ConfigContext configContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsSearchMetadata(Class<?> clazz) |
TypeMetadata |
getTypeMetadataFor(Class<?> clazz,
IndexManagerType indexManagerType)
Returns the Search related metadata for the specified type.
|
TypeMetadata |
getTypeMetadataForContainedIn(Class<?> clazz)
Returns the
ContainedIn related metadata for the specified type. |
public AnnotationMetadataProvider(org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager,
ConfigContext configContext)
public TypeMetadata getTypeMetadataForContainedIn(Class<?> clazz)
MetadataProviderContainedIn related metadata for the specified type.
The metadata for ContainedIn are not comprehensive: they do not
contain the information about the FieldBridges, the analyzers or the NullMarkerCodecs.
We can't build these information because classes only marked with
ContainedIn are not tied to an IndexManager.
It's of no use for ContainedIn resolution anyway.
getTypeMetadataForContainedIn in interface MetadataProviderclazz - The type of interest.ContainedInTypeMetadata for the specified typepublic TypeMetadata getTypeMetadataFor(Class<?> clazz, IndexManagerType indexManagerType)
MetadataProvidergetTypeMetadataFor in interface MetadataProviderclazz - The type of interest.indexManagerType - the IndexManagerType type managing this entity typeTypeMetadata for the specified typepublic boolean containsSearchMetadata(Class<?> clazz)
containsSearchMetadata in interface MetadataProviderCopyright © 2006–2017 Hibernate. All rights reserved.