public class QuerydslBindingsFactory extends Object implements org.springframework.context.ApplicationContextAware
QuerydslBindings using an EntityPathResolver.| Constructor and Description |
|---|
QuerydslBindingsFactory(EntityPathResolver entityPathResolver)
Creates a new
QuerydslBindingsFactory using the given EntityPathResolver. |
| Modifier and Type | Method and Description |
|---|---|
QuerydslBindings |
createBindingsFor(Class<? extends QuerydslBinderCustomizer<?>> customizer,
TypeInformation<?> domainType)
Creates the
QuerydslBindings to be used using for the given domain type and a pre-defined
QuerydslBinderCustomizer. |
EntityPathResolver |
getEntityPathResolver()
Returns the
EntityPathResolver used by the factory. |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public QuerydslBindingsFactory(EntityPathResolver entityPathResolver)
QuerydslBindingsFactory using the given EntityPathResolver.entityPathResolver - must not be null.public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic EntityPathResolver getEntityPathResolver()
EntityPathResolver used by the factory.public QuerydslBindings createBindingsFor(Class<? extends QuerydslBinderCustomizer<?>> customizer, TypeInformation<?> domainType)
QuerydslBindings to be used using for the given domain type and a pre-defined
QuerydslBinderCustomizer. If no customizer is given, auto-detection will be applied.customizer - the QuerydslBinderCustomizer to use. If null is given customizer detection for
the given domain type will be applied.domainType - must not be null.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.