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.InstanceInitializer
public Object unproxy(Object instance)
unproxy
in interface org.hibernate.search.spi.InstanceInitializer
public <T> Collection<T> initializeCollection(Collection<T> value)
initializeCollection
in interface org.hibernate.search.spi.InstanceInitializer
public <K,V> Map<K,V> initializeMap(Map<K,V> value)
initializeMap
in interface org.hibernate.search.spi.InstanceInitializer
public Object[] initializeArray(Object[] value)
initializeArray
in interface org.hibernate.search.spi.InstanceInitializer
public Class<?> getClassFromWork(org.hibernate.search.backend.spi.Work work)
getClassFromWork
in interface org.hibernate.search.spi.InstanceInitializer
Copyright © 2017 JBoss by Red Hat. All rights reserved.