public void initAtStartup() {
        //final String appsToInit = ConfigurationManager.getConfigInstance().getString("evcache.appsToInit");
        final String appsToInit = EVCacheConfig.getInstance().getDynamicStringProperty("evcache.appsToInit", "").get();
        if (appsToInit != null && appsToInit.length() > 0) {
            final StringTokenizer apps = new StringTokenizer(appsToInit, ",");
            while (apps.hasMoreTokens()) {
                final String app = getAppName(apps.nextToken());
                if (log.isDebugEnabled()) log.debug("Initializing EVCache - " + app);
                initEVCache(app);
            }
        }
    }
public void initAtStartup ( ) { final String appsToInit = EVCacheConfig . getInstance ( ) . getDynamicStringProperty ( "evcache.appsToInit" , "" ) . get ( ) ; if ( appsToInit != null && appsToInit . length ( ) > 0 ) { final StringTokenizer apps = new StringTokenizer ( appsToInit , "," ) ; while ( apps . hasMoreTokens ( ) ) { final String app = getAppName ( apps . nextToken ( ) ) ; if ( log . isDebugEnabled ( ) ) log . debug ( "Initializing EVCache - " + app ) ; initEVCache ( app ) ; } } }
TODO Move to @PostConstruct, so that a non-static EVCacheConfig can be injected by DI, so that Configuration
subsystem can be properly setup via the DI system.