public class DefaultGrailsServiceClass extends AbstractInjectableGrailsClass implements GrailsServiceClass
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
SERVICE |
|
private static java.lang.String |
TRANSACTIONAL |
|
private java.lang.String |
datasourceName |
|
private boolean |
transactional |
Fields inherited from class | Fields |
---|---|
class AbstractGrailsClass |
classPropertyFetcher, clazz, fullName, grailsApplication, isAbstract, logicalPropertyName, name, naturalName, packageName, propertyName, shortName |
Constructor and description |
---|
DefaultGrailsServiceClass
(java.lang.Class<?> clazz) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
getDatasource() If service is transactional then get data source will always apply |
|
public boolean |
isTransactional() |
|
public boolean |
usesDatasource(java.lang.String name) |