Skip to content

Commit 9b18e9b

Browse files
committed
Revert Rename loadDataServices -> loadServices grails/gorm-hibernate5#230
1 parent 78bbc11 commit 9b18e9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grails-datastore-gorm/src/main/groovy/org/grails/datastore/gorm/bootstrap/AbstractDatastoreInitializer.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ abstract class AbstractDatastoreInitializer implements ResourceLoaderAware{
290290
datastore = ref("${type}Datastore")
291291
}
292292
}
293-
loadServices(null)
293+
loadDataServices(null)
294294
.each {serviceName, serviceClass->
295295
"$serviceName"(DatastoreServiceMethodInvokingFactoryBean) {
296296
targetObject = ref("${type}Datastore")
@@ -302,7 +302,7 @@ abstract class AbstractDatastoreInitializer implements ResourceLoaderAware{
302302
}
303303

304304
@CompileDynamic
305-
protected Map<String, Class<?>> loadServices(String secondaryDatastore = null) {
305+
protected Map<String, Class<?>> loadDataServices(String secondaryDatastore = null) {
306306
Map<String, Class<?>> services = [:]
307307
final SoftServiceLoader<Service> softServiceLoader = SoftServiceLoader.load(Service)
308308
for (ServiceDefinition<Service> serviceDefinition: softServiceLoader) {

0 commit comments

Comments
 (0)