<?xml version="1.0"?>
<!-- 
   Copyright 2004, 2005 The Apache Software Foundation

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->

<!DOCTYPE document PUBLIC "-//HM//DTD Documentation V1.0//EN" "hm-document.dtd"
  
[
    <!ENTITY projectroot '../'>
    <!ENTITY % common-links SYSTEM "../links.ent">
    %common-links;
]>
<document>

  <header>
    <title>Setter based dependency injection</title>
    </header>
    
  <body>

	<p>
	This example demonstrates the use of setter based injection for the
	construction of service points. All "set-xxx" elements that are understood
	by the BuilderFactory are used.
	</p>
	<section>
		<title>settersRegistry.xml</title>
		<xmlsourcefile file="examples/src/java/org/apache/examples/setters/setters.xml" />
	</section>
	<section>
		<title>SetterService.java</title>
		<javasourcefile file="examples/src/java/org/apache/examples/setters/SetterService.java" />
	</section>

  </body>
</document>
