Class AbstractPojoHCAnnBootstrapIntrospector
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.model.hcann.spi.AbstractPojoHCAnnBootstrapIntrospector
-
- All Implemented Interfaces:
PojoBootstrapIntrospector
- Direct Known Subclasses:
HibernateOrmBootstrapIntrospector
public abstract class AbstractPojoHCAnnBootstrapIntrospector extends Object implements PojoBootstrapIntrospector
-
-
Field Summary
Fields Modifier and Type Field Description protected ValueHandleFactoryvalueHandleFactory
-
Constructor Summary
Constructors Constructor Description AbstractPojoHCAnnBootstrapIntrospector(ReflectionManager reflectionManager, ValueHandleFactory valueHandleFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<Annotation>annotations(XAnnotatedElement xAnnotated)ValueHandleFactoryannotationValueHandleFactory()Stream<Class<?>>ascendingSuperClasses(XClass xClass)protected <T> ValueCreateHandle<T>createValueCreateHandle(Constructor<T> constructor)Map<String,XProperty>declaredFieldAccessXPropertiesByName(XClass xClass)Map<String,List<XProperty>>declaredMethodAccessXPropertiesByName(XClass xClass)Stream<Class<?>>descendingSuperClasses(XClass xClass)Class<?>toClass(XClass xClass)XClasstoXClass(Class<?> type)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.mapper.pojo.model.spi.PojoBootstrapIntrospector
annotationValueReadHandleFactory, typeModel, typeModel
-
-
-
-
Field Detail
-
valueHandleFactory
protected final ValueHandleFactory valueHandleFactory
-
-
Constructor Detail
-
AbstractPojoHCAnnBootstrapIntrospector
public AbstractPojoHCAnnBootstrapIntrospector(ReflectionManager reflectionManager, ValueHandleFactory valueHandleFactory)
-
-
Method Detail
-
annotationValueHandleFactory
public ValueHandleFactory annotationValueHandleFactory()
- Specified by:
annotationValueHandleFactoryin interfacePojoBootstrapIntrospector- Returns:
- A
ValueHandleFactoryfor reading annotation attributes.
-
annotations
public Stream<Annotation> annotations(XAnnotatedElement xAnnotated)
-
declaredFieldAccessXPropertiesByName
public Map<String,XProperty> declaredFieldAccessXPropertiesByName(XClass xClass)
-
declaredMethodAccessXPropertiesByName
public Map<String,List<XProperty>> declaredMethodAccessXPropertiesByName(XClass xClass)
-
createValueCreateHandle
protected <T> ValueCreateHandle<T> createValueCreateHandle(Constructor<T> constructor) throws IllegalAccessException
- Throws:
IllegalAccessException
-
-