[Index]

arooa:descriptor


A definition of an Arooa descriptor.

Property Summary

components A list of arooa:bean-defs for components.
conversions List of class names that must implement the org.oddjob.arooa.convert.ConversionProvider interface.
namespace The name space that applies to all elements defined in definitions.
prefix The default prefix for the name space.
values A list of arooa:bean-defs for values.

Example Summary

Example 1 See the Dev Guide.
Example 2 The descriptor for the JMX client and server.

Property Detail

components

Configured ByELEMENT
AccessWRITE_ONLY
RequiredNo.

A list of arooa:bean-defs for components.

conversions

Configured ByELEMENT
AccessWRITE_ONLY
RequiredNo.

List of class names that must implement the org.oddjob.arooa.convert.ConversionProvider interface.

namespace

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo.

The name space that applies to all elements defined in definitions.

prefix

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredYes if name space is provided.

The default prefix for the name space.

values

Configured ByELEMENT
AccessWRITE_ONLY
RequiredNo.

A list of arooa:bean-defs for values.


Examples

Example 1

See the Dev Guide. There is an example of a custom descriptor here.

Example 2

The descriptor for the JMX client and server. This is the internal descriptor used by Oddjob.

<arooa:descriptor prefix="jmx" namespace="http://rgordon.co.uk/oddjob/jmx" xmlns:arooa="http://rgordon.co.uk/oddjob/arooa">
    <values>
        <arooa:bean-def element="server-security" className="org.oddjob.jmx.server.SimpleServerSecurity"/>
        <arooa:bean-def element="client-credentials" className="org.oddjob.jmx.client.UsernamePassword"/>
    </values>
    <components>
        <arooa:bean-def element="client" className="org.oddjob.jmx.JMXClientJob" designFactory="org.oddjob.designer.components.ClientDC"/>
        <arooa:bean-def element="server" className="org.oddjob.jmx.JMXServerJob" designFactory="org.oddjob.designer.components.ServerDC"/>
        <arooa:bean-def element="service" className="org.oddjob.jmx.JMXServiceJob" designFactory="org.oddjob.designer.components.JMXServiceDC"/>
        
    </components>
</arooa:descriptor>


(c) R Gordon Ltd 2005 - Present