Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.wadpam.open.spring;
 

Author(s):
os
    
    static final Logger LOG = LoggerFactory.getLogger(ContextProfileInitializer.class);
		ConfigurableEnvironment environment = ctx.getEnvironment();
                final String activeProfiles = ctx.getServletContext().getInitParameter("contxt.profile.initializer.active");
                .info("activating profile {}"activeProfiles);
		environment.setActiveProfiles(activeProfiles);
	}
New to GrepCode? Check out our FAQ X