<role
name="org.apache.fulcrum.resourcemanager.ResourceManagerService"
default-class="org.apache.fulcrum.resourcemanager.impl.ResourceManagerServiceImpl"
shorthand="ResourceManagerService"
early-init="true"
description="Handles the management of resources for multiple domains"
/>
| Item | Datatype | Optional | Description |
|---|---|---|---|
| domain | Element | N | Defines one or more domains for managing resources |
| domain@name | String | N | The name of the domain |
| domain@type | String | N | Defines the implementation class. |
| suffix | String | Y | The extension of the resources to manage |
| location | String | N | The location were the resources reside |
| useLocator | Boolean | Y | Enable/disable the locator feature |
<ResourceManagerService>
<domain name="groovy" type="org.apache.fulcrum.resourcemanager.impl.FileResourceManager">
<suffix>groovy</suffix>
<location>./src/test/resources/scripts</location>
<useLocator>true</useLocator>
</domain>
<domain name="xslt" type="org.apache.fulcrum.resourcemanager.impl.FileResourceManager">
<suffix>*</suffix>
<location>./src/test/resources/xslt</location>
<useLocator>true</useLocator>
</domain>
<domain name="test" type="org.apache.fulcrum.resourcemanager.impl.FileResourceManager">
<suffix>txt</suffix>
<location>./src/test/resources/test</location>
<useLocator>false</useLocator>
</domain>
</ResourceManagerService>