Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

ServiceEndpoint

Thomas Diesler edited this page May 23, 2014 · 2 revisions

Working with Service Endpoints

A Container may have a set of ServiceEndpoints.

In the managed containers there is support for

A client wanting to get a JMX connection to a remote Container can do

ContainerManager manager = ContainerManagerLocator.getContainerManager();
JMXServiceEndpoint jmxEndpoint = manager.getServiceEndpoint(containerId, JMXServiceEndpoint.class);
JMXConnector connector = jmxEndpoint.getJMXConnector(username, password, 20, TimeUnit.SECONDS);
Clone this wiki locally