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(TypeInformation<?> domainType)
Creates the
QuerydslBindings to be used using for the given domain type. |
QuerydslBindings |
createBindingsFor(TypeInformation<?> domainType,
Class<? extends QuerydslBinderCustomizer<?>> customizer)
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(TypeInformation<?> domainType)
QuerydslBindings
to be used using for the given domain type. A QuerydslBinderCustomizer
will be auto-detected.domainType
- must not be null.public QuerydslBindings createBindingsFor(TypeInformation<?> domainType, Class<? extends QuerydslBinderCustomizer<?>> customizer)
QuerydslBindings
to be used using for the given domain type and a pre-defined
QuerydslBinderCustomizer
.domainType
- must not be null.customizer
- the QuerydslBinderCustomizer
to use, must not be null.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.