diff --git a/examples/grails3-neo4j-hibernate/grails-app/init/BootStrap.groovy b/examples/grails3-neo4j-hibernate/grails-app/init/BootStrap.groovy index 1287daee..786c727d 100644 --- a/examples/grails3-neo4j-hibernate/grails-app/init/BootStrap.groovy +++ b/examples/grails3-neo4j-hibernate/grails-app/init/BootStrap.groovy @@ -1,7 +1,12 @@ +import javax.servlet.ServletContext + class BootStrap { - def init = { servletContext -> + ServletContext servletContext + + def init = { } + def destroy = { } } diff --git a/examples/grails3-neo4j/grails-app/init/BootStrap.groovy b/examples/grails3-neo4j/grails-app/init/BootStrap.groovy index 1287daee..786c727d 100644 --- a/examples/grails3-neo4j/grails-app/init/BootStrap.groovy +++ b/examples/grails3-neo4j/grails-app/init/BootStrap.groovy @@ -1,7 +1,12 @@ +import javax.servlet.ServletContext + class BootStrap { - def init = { servletContext -> + ServletContext servletContext + + def init = { } + def destroy = { } } diff --git a/examples/test-data-service/grails-app/init/example/BootStrap.groovy b/examples/test-data-service/grails-app/init/example/BootStrap.groovy index 72406d5c..595a09c9 100644 --- a/examples/test-data-service/grails-app/init/example/BootStrap.groovy +++ b/examples/test-data-service/grails-app/init/example/BootStrap.groovy @@ -1,9 +1,14 @@ package example +import javax.servlet.ServletContext + class BootStrap { - def init = { servletContext -> + ServletContext servletContext + + def init = { } + def destroy = { } }