public interface GrailsServiceClass extends InjectableGrailsClass
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
getDatasource() Get the datasource name that this service class works with. |
|
public boolean |
isTransactional() Service should be configured with transaction demarcation. |
|
public boolean |
usesDatasource(java.lang.String name) Check if the service class can use the named DataSource. |
Methods inherited from class | Name |
---|---|
interface InjectableGrailsClass |
byName, byType, getAvailable |
interface GrailsClass |
getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPluginName, getPropertyName, getPropertyValue, getPropertyValue, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance |
interface GrailsApplicationAware |
setGrailsApplication |
Get the datasource name that this service class works with.
Service should be configured with transaction demarcation.
Check if the service class can use the named DataSource.
name
- the name