A CatalogLoader is created using a Spring bean with the following attributes:
Attribute | Value | Description |
---|---|---|
id | User-defined | A unique ID for the bean. |
parent | catalog.loader.abstract | The parent bean. |
The CatalogLoader bean takes the following properties:
Property | Type | Mandatory | Description |
---|---|---|---|
location | String | Optional | A catalog (URI as String) to be loaded. |
locations | List <String> | Optional | List of catalogs (URIs as Strings) to be loaded. |
<bean id="samples.catalog" parent="catalog.loader.abstract"> <property name="location" value="classpath:/com/componize/samples/01-catalog/catalog.xml" /> </bean>
To debug your CatalogLoader, add the following entry to your
log4j.properties
file:
log4j.logger.com.componize.xml.catalog.CatalogLoader=debug