public class HibernateStatelessInitializer extends Object implements org.hibernate.search.spi.InstanceInitializer
initializeCollection(Collection) and initializeMap(Map)
are not supported.| Modifier and Type | Field and Description |
|---|---|
static HibernateStatelessInitializer |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
protected |
HibernateStatelessInitializer() |
| Modifier and Type | Method and Description |
|---|---|
<T> Class<T> |
getClass(T entity) |
Class<?> |
getClassFromWork(org.hibernate.search.backend.spi.Work work) |
Object[] |
initializeArray(Object[] value) |
<T> Collection<T> |
initializeCollection(Collection<T> value) |
<K,V> Map<K,V> |
initializeMap(Map<K,V> value) |
Object |
unproxy(Object instance) |
public static final HibernateStatelessInitializer INSTANCE
public <T> Class<T> getClass(T entity)
getClass in interface org.hibernate.search.spi.InstanceInitializerpublic Object unproxy(Object instance)
unproxy in interface org.hibernate.search.spi.InstanceInitializerpublic <T> Collection<T> initializeCollection(Collection<T> value)
initializeCollection in interface org.hibernate.search.spi.InstanceInitializerpublic <K,V> Map<K,V> initializeMap(Map<K,V> value)
initializeMap in interface org.hibernate.search.spi.InstanceInitializerpublic Object[] initializeArray(Object[] value)
initializeArray in interface org.hibernate.search.spi.InstanceInitializerpublic Class<?> getClassFromWork(org.hibernate.search.backend.spi.Work work)
getClassFromWork in interface org.hibernate.search.spi.InstanceInitializerCopyright © 2017 JBoss by Red Hat. All rights reserved.