public class ObjectInitializationContext extends Object
ObjectInitializer
Constructor and Description |
---|
ObjectInitializationContext(org.hibernate.Criteria criteria,
Class<?> targetedEntityType,
ExtendedSearchIntegrator extendedIntegrator,
TimeoutManager timeoutManager,
org.hibernate.Session session) |
Modifier and Type | Method and Description |
---|---|
org.hibernate.Criteria |
getCriteria() |
Class<?> |
getEntityType() |
ExtendedSearchIntegrator |
getExtendedSearchIntegrator() |
org.hibernate.Session |
getSession() |
TimeoutManager |
getTimeoutManager() |
public ObjectInitializationContext(org.hibernate.Criteria criteria, Class<?> targetedEntityType, ExtendedSearchIntegrator extendedIntegrator, TimeoutManager timeoutManager, org.hibernate.Session session)
criteria
- A user specified Criteria query
or null
.
See also FullTextQuery.setCriteriaQuery(org.hibernate.Criteria)
.targetedEntityType
- The entity type targeted explicitly by the userextendedIntegrator
- Handle to the search factorytimeoutManager
- Handle to the timeout managersession
- Handle to the ORM sessionpublic org.hibernate.Criteria getCriteria()
public Class<?> getEntityType()
public ExtendedSearchIntegrator getExtendedSearchIntegrator()
public TimeoutManager getTimeoutManager()
public org.hibernate.Session getSession()
Copyright © 2006–2016 Hibernate. All rights reserved.