public interface GrailsDomainConfiguration
| Modifier and Type | Method and Description |
|---|---|
GrailsDomainConfiguration |
addDomainClass(org.codehaus.groovy.grails.commons.GrailsDomainClass domainClass)
Adds a domain class to the configuration.
|
void |
setDataSourceName(java.lang.String name)
The Spring bean name of the DataSource.
|
void |
setGrailsApplication(org.codehaus.groovy.grails.commons.GrailsApplication application)
Sets the grails application instance.
|
void |
setSessionFactoryBeanName(java.lang.String name)
The Spring bean name of the SessionFactory.
|
GrailsDomainConfiguration addDomainClass(org.codehaus.groovy.grails.commons.GrailsDomainClass domainClass)
domainClass - void setGrailsApplication(org.codehaus.groovy.grails.commons.GrailsApplication application)
application - The grails application to use or null if none.void setSessionFactoryBeanName(java.lang.String name)
name - the namevoid setDataSourceName(java.lang.String name)
name - the name