Spring beans.xml: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<syntaxhighlight lang='xml'> <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSche...") |
No edit summary |
||
Line 1: | Line 1: | ||
=Internal= | |||
* [[Spring_Dependency_Injection_and_Inversion_of_Control_Container_Concepts#Spring_beans.xml|Spring Dependency Injection and Inversion of Control Container Concepts]] | |||
=Example= | |||
<syntaxhighlight lang='xml'> | <syntaxhighlight lang='xml'> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> |
Revision as of 01:20, 4 November 2018
Internal
Example
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="..." class="...">
<!-- collaborators and configuration for this bean go here -->
</bean>
<bean id="..." class="...">
<!-- collaborators and configuration for this bean go here -->
</bean>
<!-- more bean definitions go here -->
</beans>