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(IndexedTypeIdentifier type) |
TypeMetadata |
getTypeMetadataFor(Class<?> clazz,
IndexManagerType indexManagerType)
Deprecated.
|
TypeMetadata |
getTypeMetadataFor(IndexedTypeIdentifier type,
IndexManagerType indexManagerType)
Returns the Search related metadata for the specified type.
|
TypeMetadata |
getTypeMetadataForContainedIn(IndexedTypeIdentifier type)
Returns the
ContainedIn related metadata for the specified type. |
public AnnotationMetadataProvider(org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager,
ConfigContext configContext)
public TypeMetadata getTypeMetadataForContainedIn(IndexedTypeIdentifier type)
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 MetadataProvidertype - The type of interest.ContainedInTypeMetadata for the specified typepublic TypeMetadata getTypeMetadataFor(IndexedTypeIdentifier type, IndexManagerType indexManagerType)
MetadataProvidergetTypeMetadataFor in interface MetadataProvidertype - The type of interest.indexManagerType - the IndexManagerType type managing this entity typeTypeMetadata for the specified type@Deprecated public TypeMetadata getTypeMetadataFor(Class<?> clazz, IndexManagerType indexManagerType)
public boolean containsSearchMetadata(IndexedTypeIdentifier type)
containsSearchMetadata in interface MetadataProviderCopyright © 2006–2017 Hibernate. All rights reserved.