Getting Spring Context in Grails BootStrap
import org.springframework.web.context.support.WebApplicationContextUtils
class BootStrap
def init = servletContext ->
// Get spring
def springContext = WebApplicationContextUtils.getWebApplicationContext( servletContext )
Getting Spring Context in Grails BootStrap
No comments:
Post a Comment