Uses of Class
org.springframework.core.env.PropertySource
Packages that use PropertySource
Package
Description
Spring's environment abstraction consisting of bean definition
profile and hierarchical property source support.
Support classes for Spring's resource abstraction.
The classes in this package make JNDI easier to use,
facilitating the accessing of configuration stored in JNDI,
and provide useful superclasses for JNDI access classes.
This package contains mock implementations of the
Environment and
PropertySource
abstractions introduced in Spring 3.1.Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes.-
Uses of PropertySource in org.springframework.core.env
Subclasses of PropertySource in org.springframework.core.envModifier and TypeClassDescriptionclassAbstract base class forPropertySourceimplementations backed by command line arguments.classCompositePropertySourceimplementation that iterates over a set ofPropertySourceinstances.classAPropertySourceimplementation capable of interrogating its underlying source object to enumerate all possible property name/value pairs.classCommandLinePropertySourceimplementation backed by a JOptOptionSet.classPropertySourcethat reads keys and values from aMapobject.classPropertySourceimplementation that extracts properties from aPropertiesobject.static classPropertySourceto be used as a placeholder in cases where an actual property source cannot be eagerly initialized at application context creation time.classCommandLinePropertySourceimplementation backed by a simple String array.classSpecialization ofMapPropertySourcedesigned for use with system environment variables.Methods in org.springframework.core.env that return PropertySourceModifier and TypeMethodDescriptionReturn the property source with the given name,nullif not found.static PropertySource<?>Return aPropertySourceimplementation intended for collection comparison purposes only.Remove and return the property source with the given name,nullif not found.Methods in org.springframework.core.env that return types with arguments of type PropertySourceModifier and TypeMethodDescriptionCompositePropertySource.getPropertySources()Return all property sources that this composite source holds.MutablePropertySources.iterator()MutablePropertySources.spliterator()Stream<PropertySource<?>>MutablePropertySources.stream()default Stream<PropertySource<?>>PropertySources.stream()Return a sequentialStreamcontaining the property sources.Methods in org.springframework.core.env with parameters of type PropertySourceModifier and TypeMethodDescriptionvoidMutablePropertySources.addAfter(String relativePropertySourceName, PropertySource<?> propertySource) Add the given property source object with precedence immediately lower than the named relative property source.voidMutablePropertySources.addBefore(String relativePropertySourceName, PropertySource<?> propertySource) Add the given property source object with precedence immediately higher than the named relative property source.voidMutablePropertySources.addFirst(PropertySource<?> propertySource) Add the given property source object with highest precedence.voidCompositePropertySource.addFirstPropertySource(PropertySource<?> propertySource) Add the givenPropertySourceto the start of the chain.voidMutablePropertySources.addLast(PropertySource<?> propertySource) Add the given property source object with lowest precedence.voidCompositePropertySource.addPropertySource(PropertySource<?> propertySource) Add the givenPropertySourceto the end of the chain.protected voidMutablePropertySources.assertLegalRelativeAddition(String relativePropertySourceName, PropertySource<?> propertySource) Ensure that the given property source is not being added relative to itself.protected voidPropertySourcesPropertyResolver.logKeyFound(String key, PropertySource<?> propertySource, Object value) Log the given key as found in the givenPropertySource, resulting in the given value.intMutablePropertySources.precedenceOf(PropertySource<?> propertySource) Return the precedence of the given property source,-1if not found.protected voidMutablePropertySources.removeIfPresent(PropertySource<?> propertySource) Remove the given property source if it is present.voidMutablePropertySources.replace(String name, PropertySource<?> propertySource) Replace the property source with the given name with the given property source object. -
Uses of PropertySource in org.springframework.core.io.support
Subclasses of PropertySource in org.springframework.core.io.supportModifier and TypeClassDescriptionclassSubclass ofPropertiesPropertySourcethat loads aPropertiesobject from a givenResourceor resource location such as"classpath:/com/myco/foo.properties"or"file:/path/to/file.xml".Methods in org.springframework.core.io.support that return PropertySourceModifier and TypeMethodDescriptionDefaultPropertySourceFactory.createPropertySource(String name, EncodedResource resource) PropertySourceFactory.createPropertySource(String name, EncodedResource resource) Create aPropertySourcethat wraps the given resource. -
Uses of PropertySource in org.springframework.jndi
Subclasses of PropertySource in org.springframework.jndiModifier and TypeClassDescriptionclassPropertySourceimplementation that reads properties from an underlying SpringJndiLocatorDelegate. -
Uses of PropertySource in org.springframework.mock.env
Subclasses of PropertySource in org.springframework.mock.env -
Uses of PropertySource in org.springframework.web.context.support
Subclasses of PropertySource in org.springframework.web.context.supportModifier and TypeClassDescriptionclassPropertySourcethat reads init parameters from aServletConfigobject.classPropertySourcethat reads init parameters from aServletContextobject.