|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface GrailsDomainConfiguration
Method Summary | |
---|---|
GrailsDomainConfiguration
|
addDomainClass(GrailsDomainClass domainClass)
Adds a domain class to the configuration. |
void
|
setDataSourceName(java.lang.String name)
The Spring bean name of the DataSource. |
void
|
setGrailsApplication(GrailsApplication application)
Sets the grails application instance. |
void
|
setSessionFactoryBeanName(java.lang.String name)
The Spring bean name of the SessionFactory. |
Method Detail |
---|
public GrailsDomainConfiguration addDomainClass(GrailsDomainClass domainClass)
public void setDataSourceName(java.lang.String name)
name
- the name
public void setGrailsApplication(GrailsApplication application)
application
- The grails application to use or null if none.
public void setSessionFactoryBeanName(java.lang.String name)
name
- the name
Groovy Documentation