protected MQJMXConnectorInfo[] getMQJMXConnectorInfos(final String target, final Config config, final ServerContext serverContext, final Domain domain, ConnectorRuntime connectorRuntime)
throws ConnectorRuntimeException {
try {
final JmsService jmsService = config.getExtensionByType(JmsService.class);
ActiveJmsResourceAdapter air = getMQAdapter(connectorRuntime);
final Class mqRAClassName = air.getResourceAdapter().getClass();
final CommandTarget ctarget = this.getTypeForTarget(target);
MQJMXConnectorInfo mqjmxForServer = (MQJMXConnectorInfo)
java.security.AccessController.doPrivileged
(new java.security.PrivilegedExceptionAction() {
public java.lang.Object run() throws Exception {