Class GrailsEnvironment
- java.lang.Object
-
- org.springframework.core.env.AbstractEnvironment
-
- org.springframework.core.env.StandardEnvironment
-
- org.springframework.web.context.support.StandardServletEnvironment
-
- grails.web.servlet.context.support.GrailsEnvironment
-
- All Implemented Interfaces:
org.springframework.core.env.ConfigurableEnvironment,org.springframework.core.env.ConfigurablePropertyResolver,org.springframework.core.env.Environment,org.springframework.core.env.PropertyResolver,org.springframework.web.context.ConfigurableWebEnvironment
public class GrailsEnvironment extends org.springframework.web.context.support.StandardServletEnvironmentBridges Grails' existing environment API with the new Spring 3.1 environment profiles API.- Since:
- 2.0
-
-
Field Summary
-
Fields inherited from class org.springframework.web.context.support.StandardServletEnvironment
JNDI_PROPERTY_SOURCE_NAME, SERVLET_CONFIG_PROPERTY_SOURCE_NAME, SERVLET_CONTEXT_PROPERTY_SOURCE_NAME
-
-
Constructor Summary
Constructors Constructor Description GrailsEnvironment(grails.core.GrailsApplication grailsApplication)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Set<java.lang.String>doGetActiveProfiles()-
Methods inherited from class org.springframework.web.context.support.StandardServletEnvironment
customizePropertySources, initPropertySources
-
Methods inherited from class org.springframework.core.env.AbstractEnvironment
acceptsProfiles, acceptsProfiles, addActiveProfile, containsProperty, createPropertyResolver, doGetActiveProfilesProperty, doGetDefaultProfiles, doGetDefaultProfilesProperty, getActiveProfiles, getConversionService, getDefaultProfiles, getProperty, getProperty, getProperty, getProperty, getPropertyResolver, getPropertySources, getRequiredProperty, getRequiredProperty, getReservedDefaultProfiles, getSystemEnvironment, getSystemProperties, isProfileActive, merge, resolvePlaceholders, resolveRequiredPlaceholders, setActiveProfiles, setConversionService, setDefaultProfiles, setIgnoreUnresolvableNestedPlaceholders, setPlaceholderPrefix, setPlaceholderSuffix, setRequiredProperties, setValueSeparator, suppressGetenvAccess, toString, validateProfile, validateRequiredProperties
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.springframework.core.env.ConfigurableEnvironment
addActiveProfile, getPropertySources, getSystemEnvironment, getSystemProperties, merge, setActiveProfiles, setDefaultProfiles
-
Methods inherited from interface org.springframework.core.env.ConfigurablePropertyResolver
getConversionService, setConversionService, setIgnoreUnresolvableNestedPlaceholders, setPlaceholderPrefix, setPlaceholderSuffix, setRequiredProperties, setValueSeparator, validateRequiredProperties
-
-