|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAware org.codehaus.groovy.grails.commons.GrailsServiceClass org.codehaus.groovy.grails.commons.InjectableGrailsClass org.codehaus.groovy.grails.commons.GrailsClass
public interface GrailsServiceClass extends InjectableGrailsClass
Field Summary | |
---|---|
java.lang.String |
ALL_DATA_SOURCES
|
java.lang.String |
DATA_SOURCE
|
java.lang.String |
DEFAULT_DATA_SOURCE
|
Method Summary | |
---|---|
java.lang.String
|
getDatasource()
Get the datasource name that this service class works with. |
boolean
|
isTransactional()
Service should be configured with transaction demarcation. |
boolean
|
usesDatasource(java.lang.String name)
Check if the service class can use the named DataSource. |
Methods inherited from interface InjectableGrailsClass | |
---|---|
byName, byType, getAvailable |
Methods inherited from interface GrailsClass | |
---|---|
getClazz, getFullName, getGrailsApplication, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getReference, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance |
Methods inherited from interface GrailsApplicationAware | |
---|---|
setGrailsApplication |
Field Detail |
---|
public java.lang.String ALL_DATA_SOURCES
public java.lang.String DATA_SOURCE
public java.lang.String DEFAULT_DATA_SOURCE
Method Detail |
---|
public java.lang.String getDatasource()
public boolean isTransactional()
public boolean usesDatasource(java.lang.String name)
name
- the name
Groovy Documentation