Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.services » binding » [javadoc | source]
org.jboss.services.binding
public class: AttributeMappingDelegate [javadoc | source]
java.lang.Object
   org.jboss.services.binding.AttributeMappingDelegate

All Implemented Interfaces:
    ServicesConfigDelegate

An implementation of the ServicesConfigDelegate that expects a delegate-config element of the form: host-port-expr ... where the portAttrName is the attribute name of the mbean service to which the (int port) value should be applied and the hostAttrName is the attribute name of the mbean service to which the (String virtualHost) value should be applied. Any mbeanAttrName attribute reference has the corresponding value replaced with any ${host} and ${port} references with the associated host and port bindings.
Method from org.jboss.services.binding.AttributeMappingDelegate Summary:
applyConfig
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.services.binding.AttributeMappingDelegate Detail:
 public  void applyConfig(ServiceConfig config,
    MBeanServer server) throws Exception 
    Take the given config and map it onto the service specified in the config using JMX via the given server.