com.sun.xml.ws.api.config.management.jmx
Interface JmxConnectorServerCreator
public interface JmxConnectorServerCreator
Provides a means to pass a JMXConnectorServer into the JMX agent.
Ordinarily, it should suffice to specify JmxServiceUrl and JmxConnectorServerEnvironment
in the ManagedService configuration. However, the JmxConnectorServerEnvironment
map can only take String objects as values. This interface is primarily intended
to allow you to pass other objects into the JMXConnectorServer environment.
- Author:
- Fabian Ritzmann
create
JMXConnectorServer create(JMXServiceURL serviceUrl,
Map<String,String> environment,
MBeanServer server)
throws javax.xml.ws.WebServiceException
- Create an instance of JMXConnectorServer.
- Parameters:
serviceUrl - The JMXServiceURL.environment - A map with key/value pairs that were passed in through
the JmxConnectorServerEnvironment parameter in the ManagedService
configuration.server - The MBeanServer for this JMX agent.
- Returns:
- An instance of JMXConnectorServer. May not be null.
- Throws:
javax.xml.ws.WebServiceException - If the creation of the JMXConnectorServer instance
failed.
Copyright © 2005-2012 Oracle Corporation. All Rights Reserved.