return registrationsOnHost;
}
@Override
public String requestXLinkSwitch(String connectorId, String context, Object modelObject, boolean hostOnly) {
XLinkConnectorRegistration registration = xLinkRegistrations.get(connectorId);
Collection<XLinkConnectorRegistration> registrations = hostOnly
? getXLinkRegistrations(registration.getHostId())
: xLinkRegistrations.values();
ModelDescription modelDescription = ModelWrapper.wrap(modelObject).getModelDescription();
List<XLinkObject> xLinkObjects = new ArrayList<>();
for (XLinkConnectorRegistration r : registrations) {