public class QuerydslBindingsFactory extends Object implements 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(ApplicationContext applicationContext) |
public QuerydslBindingsFactory(EntityPathResolver entityPathResolver)
QuerydslBindingsFactory
using the given EntityPathResolver
.entityPathResolver
- must not be null.public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
public 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-2016–2016 Pivotal Software, Inc.. All rights reserved.