org.apache.activemq.artemis.jms.management.impl.JMSServerControlImpl

Here are the examples of the java api class org.apache.activemq.artemis.jms.management.impl.JMSServerControlImpl taken from open source projects.

1. JMSManagementServiceImpl#registerJMSServer()

View license
// Public --------------------------------------------------------
// JMSManagementRegistration implementation ----------------------
@Override
public synchronized JMSServerControl registerJMSServer(final JMSServerManager server) throws Exception {
    ObjectName objectName = managementService.getObjectNameBuilder().getJMSServerObjectName();
    JMSServerControlImpl control = new JMSServerControlImpl(server);
    managementService.registerInJMX(objectName, control);
    managementService.registerInRegistry(ResourceNames.JMS_SERVER, control);
    return control;
}