Helper class for use by plugins in configuring Spring.
Type Params | Return Type | Name and description |
---|---|---|
|
protected groovy.lang.Closure |
configureSpring(groovy.lang.Closure customizer) |
|
groovy.lang.Closure |
getConfiguration() |
|
java.lang.String |
getDatastoreType() The name of the datastore type (example "Mongo" or "Neo4j") @return |
|
groovy.lang.Closure |
getSpringCustomizer() Additional Spring configuration that is specific to the underlying Datastore. |
|
boolean |
shouldCreateTransactionalProxy(java.lang.String type, grails.core.GrailsServiceClass serviceClass) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The name of the datastore type (example "Mongo" or "Neo4j")
Additional Spring configuration that is specific to the underlying Datastore. The returned closure should use BeanBuilder syntax and must as a minimum define two beans named "${datastoreType.toLowerCase()}Datastore" and "${datastoreType.toLowerCase()}MappingContext" (Example "neo4jDatastore" and "neo4jMappingContext"