@CompileStatic class DefaultMappingContextFactoryBean extends Object implements FactoryBean<MappingContext>, InitializingBean
A factory bean for creating the default mapping context where an implementation of GORM is not present
Modifiers | Name | Description |
---|---|---|
protected ApplicationContext |
applicationContext |
|
protected PropertyResolver |
configuration |
|
protected GrailsApplication |
grailsApplication |
|
protected MappingContext |
mappingContext |
|
protected MessageSource |
messageSource |
Constructor and description |
---|
DefaultMappingContextFactoryBean(GrailsApplication grailsApplication, MessageSource messageSource) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
afterPropertiesSet() |
|
MappingContext |
getObject() |
|
Class<?> |
getObjectType() |
|
boolean |
isSingleton() |
|
void |
setConstraintFactories(List<ConstraintFactory> constraintFactories) |