element <property-placeholder> (global)
Namespace:
Type:
anonymous complexType (extension of propertyPlaceholder)
Content:
empty, 8 attributes
Defined:
Includes:
definition of 1 attribute
Used:
Content Model Diagram
XML Representation Summary
<property-placeholder
   
 = 
xsd:string
 = 
xsd:string
 = 
xsd:string
 = 
xsd:integer
 = 
xsd:boolean : "false"
 = 
xsd:boolean : "false"
 = 
xsd:boolean : "false"
 = 
("ENVIRONMENT" | "NEVER" | "FALLBACK" | "OVERRIDE") : "ENVIRONMENT"
/>
Included in content model of elements (1):
mule
Known Usage Locations
Annotation
Activates replacement of ${...} placeholders by registering a PropertySourcesPlaceholderConfigurer within the application context. Properties will be resolved against the specified properties file or Properties object -- so called "local properties", if any, and against the Spring Environment's current set of PropertySources. Note that as of Spring 3.1 the system-properties-mode attribute has been removed in favor of the more flexible PropertySources mechanism. However, Spring 3.1-based applications may continue to use the 3.0 (and older) versions of the spring-context schema in order to preserve system-properties-mode behavior. In this case, the traditional PropertyPlaceholderConfigurer component will be registered instead of the new PropertySourcesPlaceholderConfigurer. See ConfigurableEnvironment Javadoc for more information on using.
Anonymous Type Detail
Type Derivation Tree
propertyPlaceholder (extension)
  complexType
XML Source (w/o annotations (2); see within schema source)
<xsd:element name="property-placeholder">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="propertyPlaceholder">
<xsd:attribute default="ENVIRONMENT" name="system-properties-mode">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ENVIRONMENT"/>
<xsd:enumeration value="NEVER"/>
<xsd:enumeration value="FALLBACK"/>
<xsd:enumeration value="OVERRIDE"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
Attribute Detail (all declarations; defined within this component only; 1/8)
system-properties-mode
Type:
anonymous simpleType (restriction of xsd:string)
Use:
optional
Controls how to resolve placeholders against system properties. As of Spring 3.1, this attribute value defaults to "ENVIRONMENT", indicating that resolution of placeholders against system properties is handled via PropertySourcesPlaceholderConfigurer and its delegation to the current Spring Environment object. For maximum backward compatibility, this attribute is preserved going forward with the 3.1 version of the context schema, and any values other than the default "ENVIRONMENT" will cause a traditional PropertyPlaceholderConfigurer to be registered instead of the newer PropertySourcesPlaceholderConfigurer variant. In this case, the Spring Environment and its property sources are not interrogated when resolving placeholders. Users are encouraged to consider this attribute deprecated, and to take advantage of Environment/PropertySource mechanisms. See ConfigurableEnvironment Javadoc for examples. "ENVIRONMENT" indicates placeholders should be resolved against the current Environment and against any local properties; "NEVER" indicates placeholders should be resolved only against local properties and never against system properties; "FALLBACK" indicates placeholders should be resolved against any local properties and then against system properties; "OVERRIDE" indicates placeholders should be resolved first against system properties and then against any local properties;
Attribute Value
enumeration of xsd:string
Enumeration:
"ENVIRONMENT", "NEVER", "FALLBACK", "OVERRIDE"
Default:
"ENVIRONMENT"
Anonymous simpleType
Type Derivation Tree
xsd:string (restriction)
  simpleType
Derivation:
restriction of xsd:string
Facets:
enumeration:
"ENVIRONMENT", "NEVER", "FALLBACK", "OVERRIDE"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute default="ENVIRONMENT" name="system-properties-mode">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ENVIRONMENT"/>
<xsd:enumeration value="NEVER"/>
<xsd:enumeration value="FALLBACK"/>
<xsd:enumeration value="OVERRIDE"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>

XML schema documentation generated with DocFlex/XML RE 1.8.5 using DocFlex/XML XSDDoc 2.5.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.