2.5. Bundles and JBoss ON Servers and Agents
2.5.1. Resource Support and the Agent Resource Plug-in
<bundle-target>element simply defines allowed base directories for the resource which can be used as base directories in the bundle definition.
<server name="JBossAS:JBossAS Server" ...> <bundle-target> <destination-base-dir name="Library Directory" description="Where the jar libraries are"> <value-context>pluginConfiguration</value-context> <value-name>lib.dir</value-name> </destination-base-dir> <destination-base-dir name="Deploy Directory" description="Where the deployments are"> <value-context>pluginConfiguration</value-context> <value-name>deploy.dir</value-name> </destination-base-dir> </bundle-target> </server>
<bundle-target>can use the already-configured base directory or it can set different directories to use. In the example, two directories — the
lib/directories — are given as supported base directories. When a bundle definition is created, the wizard offers the choice of which directory to use.
2.5.2. Server-Side and Agent Plug-ins for Recipe Types