org.jboss.services.binding
Class XSLTConfigDelegate

java.lang.Object
  extended byorg.jboss.services.binding.XSLTConfigDelegate
All Implemented Interfaces:
ServicesConfigDelegate (src)

public class XSLTConfigDelegate
extends java.lang.Object
implements ServicesConfigDelegate (src)

An implementation of the ServicesConfigDelegate that expects a delegate-config element of the form: value1 The portAttrName and hostAttrName are currently unused. Perhaps these should be used as the names of the host and port parameters in the XSL script. Currently the host and port bindings are passed into the XSL script as the 'host' and 'port' global parameters. The xslt-param elements specify arbitrary XSL script parameter name/value pairs that will be set on the Transformer.


Constructor Summary
XSLTConfigDelegate()
           
 
Method Summary
 void applyConfig(ServiceConfig (src)  config, MBeanServer (src)  server)
          Take the given config and map it onto the service specified in the config using JMX via the given server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLTConfigDelegate

public XSLTConfigDelegate()
Method Detail

applyConfig

public void applyConfig(ServiceConfig (src)  config,
                        MBeanServer (src)  server)
                 throws java.lang.Exception
Take the given config and map it onto the service specified in the config using JMX via the given server.

Specified by:
applyConfig in interface ServicesConfigDelegate (src)
Throws:
java.lang.Exception