return (ConnectorCoordinatorMap) Context.getInstance().getRequiredBean(
"ConnectorCoordinatorMap", ConnectorCoordinatorMap.class);
}
private void addConnector(String name, String color) throws Exception {
Context context = Context.getInstance();
ConnectorCoordinatorMap ccm = getCoordinatorMap();
ConnectorCoordinator coordinator = ccm.getOrAdd(name);
String typeName = "TestConnectorA";
Map<String, String> configMap = new HashMap<String, String>(CONFIG_MAP);
configMap.put("Color", color);