当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 varia API Documentation 英文版文档
AttributeMappingDelegate (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档
org.jboss.services.binding
Class AttributeMappingDelegate
java.lang.Object
org.jboss.services.binding.AttributeMappingDelegate
- All Implemented Interfaces:
- ServicesConfigDelegate
- public class AttributeMappingDelegate
- extends Object
- implements 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.
- Version:
- $Revision: 1.7 $
- Author:
- Scott.Stark@jboss.org
Method Summary |
void |
applyConfig(ServiceConfig config,
javax.management.MBeanServer 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 |
AttributeMappingDelegate
public AttributeMappingDelegate()
applyConfig
public void applyConfig(ServiceConfig config,
javax.management.MBeanServer server)
throws 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
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.