Package org.openengsb.core.api.xlink.model

Examples of org.openengsb.core.api.xlink.model.XLinkConnectorRegistration


        // throw new IllegalArgumentException("unknown connector id");
        // }
        Map<ModelDescription, XLinkConnectorView[]> modelViewsMap =
            convertToMapWithModelDescriptionAsKey(modelViewMappings);
        synchronized (xLinkRegistrations) {
            xLinkRegistrations.put(connectorId, new XLinkConnectorRegistration(remoteHostId, connectorId, toolName,
                modelViewsMap));
        }
    }
View Full Code Here


        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) {
View Full Code Here

TOP

Related Classes of org.openengsb.core.api.xlink.model.XLinkConnectorRegistration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.