The javadoc for the RepositoryBeans class mentions a mappingFiles property, but the source does not contain a property with that name, nor does the class seem to provide the stated functionality.
Current lines from the javadoc:
* Repository Bean Mapping File<BR>
* <P>
* Often it is convenient to store the mapping of repository items to classes in
* a separate file rather than always having to call the register() method in
* code. The "mappingFiles" property of the RepositoryBeans class is used for
* setting the path to this file. The format of this file is XML and the
* mappingFiles property is of type "atg.xml.XMLFile". Therefore xml conbination
* may be used to build up layers of mapping files.
* <P>
* Mapping File Example:
* <P>
* <BR>
* The registration lines aboove could also be accomplished with the given
* mapping configuration file. <xml ?foo foo i forget the header/> <mappings>
* <mapping> <repository path="/atg/userprofiling/ProfileAdapterRepository"/>
* <item-descriptor name="profile" class="atg.rbeans.Person"/> <item-descriptor
* name="address" class="atg.rbeans.Address"/> <mapping> <mapping> <repository
* path="/atg/commerce/ProductCatalog"/> <item-descriptor name="product"
* class="atg.commerce.Product"/> <item-descriptor name="sku"
* class="atg.commerce.Sku"/> <mapping> </mappings>
Link to the current src file: http://repositorybeans.svn.sourceforge.net/viewvc/repositorybeans/trunk/src/main/java/atg/repository/beans/RepositoryBeans.java?revision=25&view=markup
......................................................
Matt Sidesinger
Senior Developer
RESOURCE INTERACTIVE
www.resource.com
614 621 2888 main
614 410 3130 direct
msidesinger -at-sign- resource.com
......................................................
This one is a TODO list item.
It never got implemented. I think the bug here is to pull that comment from the javadoc and leave it as this bug to be implemented.