public class ArooaDescriptorBean extends Object implements ArooaDescriptorFactory
ArooaDescriptorFactory
.
As such it is able to be configured using a StandardArooaParser
.<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>
Constructor and Description |
---|
ArooaDescriptorBean() |
Modifier and Type | Method and Description |
---|---|
ArooaDescriptor |
createDescriptor(ClassLoader classLoader)
Create an ArooaDesciptor.
|
URI |
getNamespace() |
String |
getPrefix() |
void |
setComponents(int index,
BeanDefinition component)
Setter for components.
|
void |
setConversions(int index,
String convertletProvider)
Setter for conversions.
|
void |
setNamespace(URI namespace) |
void |
setPrefix(String prefix) |
void |
setValues(int index,
BeanDefinition value)
Setter for values.
|
public void setConversions(int index, String convertletProvider)
index
- convertletProvider
- public void setComponents(int index, BeanDefinition component)
components
- public void setValues(int index, BeanDefinition value)
value
- public ArooaDescriptor createDescriptor(ClassLoader classLoader)
ArooaDescriptorFactory
createDescriptor
in interface ArooaDescriptorFactory
classLoader
- The classLoader to use.public URI getNamespace()
public void setNamespace(URI namespace)
public String getPrefix()
public void setPrefix(String prefix)