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) |
<T> Class<T> |
getClassFromWork(org.hibernate.search.backend.spi.Work<T> 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 <T> Class<T> getClassFromWork(org.hibernate.search.backend.spi.Work<T> work)
getClassFromWork
in interface org.hibernate.search.spi.InstanceInitializer
Copyright © 2018 JBoss by Red Hat. All rights reserved.