NO-JIRA server control test update
This commit is contained in:
parent
30ec72bfcb
commit
6ddcda55db
|
@ -32,14 +32,6 @@ public class ActiveMQServerControlUsingCoreTest extends ActiveMQServerControlTes
|
||||||
|
|
||||||
// Static --------------------------------------------------------
|
// Static --------------------------------------------------------
|
||||||
|
|
||||||
private static String[] toStringArray(final Object[] res) {
|
|
||||||
String[] names = new String[res.length];
|
|
||||||
for (int i = 0; i < res.length; i++) {
|
|
||||||
names[i] = res[i].toString();
|
|
||||||
}
|
|
||||||
return names;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Constructors --------------------------------------------------
|
// Constructors --------------------------------------------------
|
||||||
|
|
||||||
// Public --------------------------------------------------------
|
// Public --------------------------------------------------------
|
||||||
|
@ -252,12 +244,12 @@ public class ActiveMQServerControlUsingCoreTest extends ActiveMQServerControlTes
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getAddressNames() {
|
public String[] getAddressNames() {
|
||||||
return ActiveMQServerControlUsingCoreTest.toStringArray((Object[]) proxy.retrieveAttributeValue("addressNames"));
|
return (String[]) proxy.retrieveAttributeValue("addressNames", String.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getQueueNames() {
|
public String[] getQueueNames() {
|
||||||
return ActiveMQServerControlUsingCoreTest.toStringArray((Object[]) proxy.retrieveAttributeValue("queueNames", String.class));
|
return (String[]) proxy.retrieveAttributeValue("queueNames", String.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -292,17 +284,17 @@ public class ActiveMQServerControlUsingCoreTest extends ActiveMQServerControlTes
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getInterceptorClassNames() {
|
public String[] getInterceptorClassNames() {
|
||||||
return ActiveMQServerControlUsingCoreTest.toStringArray((Object[]) proxy.retrieveAttributeValue("incomingInterceptorClassNames"));
|
return (String[]) proxy.retrieveAttributeValue("incomingInterceptorClassNames", String.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getIncomingInterceptorClassNames() {
|
public String[] getIncomingInterceptorClassNames() {
|
||||||
return ActiveMQServerControlUsingCoreTest.toStringArray((Object[]) proxy.retrieveAttributeValue("incomingInterceptorClassNames"));
|
return (String[]) proxy.retrieveAttributeValue("incomingInterceptorClassNames", String.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getOutgoingInterceptorClassNames() {
|
public String[] getOutgoingInterceptorClassNames() {
|
||||||
return ActiveMQServerControlUsingCoreTest.toStringArray((Object[]) proxy.retrieveAttributeValue("outgoingInterceptorClassNames"));
|
return (String[]) proxy.retrieveAttributeValue("outgoingInterceptorClassNames", String.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -769,7 +761,7 @@ public class ActiveMQServerControlUsingCoreTest extends ActiveMQServerControlTes
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getBridgeNames() {
|
public String[] getBridgeNames() {
|
||||||
return ActiveMQServerControlUsingCoreTest.toStringArray((Object[]) proxy.retrieveAttributeValue("bridgeNames"));
|
return (String[]) proxy.retrieveAttributeValue("bridgeNames", String.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -790,7 +782,7 @@ public class ActiveMQServerControlUsingCoreTest extends ActiveMQServerControlTes
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getConnectorServices() {
|
public String[] getConnectorServices() {
|
||||||
return ActiveMQServerControlUsingCoreTest.toStringArray((Object[]) proxy.retrieveAttributeValue("connectorServices"));
|
return (String[]) proxy.retrieveAttributeValue("connectorServices", String.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -809,7 +801,7 @@ public class ActiveMQServerControlUsingCoreTest extends ActiveMQServerControlTes
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getDivertNames() {
|
public String[] getDivertNames() {
|
||||||
return ActiveMQServerControlUsingCoreTest.toStringArray((Object[]) proxy.retrieveAttributeValue("divertNames"));
|
return (String[]) proxy.retrieveAttributeValue("divertNames", String.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue