source: trunk/grails-app/conf/BootStrap.groovy @ 34

Last change on this file since 34 was 34, checked in by duh, 10 years ago

-removed testing authorization code
-looking at 'apache shiro' and / or nimble

  • Property svn:keywords set to Date Author Rev
File size: 493 bytes
Line 
1import org.codehaus.groovy.grails.commons.GrailsApplication
2import grails.util.GrailsUtil
3
4/**
5 * Application Bootstrapper
6 * @Author  Jeroen Wesbeek
7 * @Since   20091021
8 *
9 * Revision information:
10 * $Rev: 34 $
11 * $Author: duh $
12 * $Date: 2009-10-27 12:32:34 +0000 (di, 27 okt 2009) $
13 */
14class BootStrap {
15     def init = { servletContext ->     
16         // check if we're in development
17         if (GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT) {
18             printf("development bootstrapping....\n\n");
19             
20         }
21     }
22     def destroy = {
23     }
24} 
Note: See TracBrowser for help on using the repository browser.