コード例 #1
0
  public SystemServiceConnectionLinks onServiceRequest(String serviceID) {
    requestedService = serviceManager.getService(serviceID);
    if (requestedService == null) {
      return null;
    }

    Link serviceToClient = Link.newLink(serviceIsolate, clientIsolate);
    Link clientToService = Link.newLink(clientIsolate, serviceIsolate);
    SystemServiceConnectionLinks connectionLinks =
        new SystemServiceConnectionLinks(serviceToClient, clientToService);

    return connectionLinks;
  }