org.opentcs.guing.common.exchange.ApplicationPortalProvider Maven / Gradle / Ivy
/**
* Copyright (c) The openTCS Authors.
*
* This program is free software and subject to the MIT license. (For details,
* see the licensing information (LICENSE.txt) you should have received with
* this copy of the software.)
*/
package org.opentcs.guing.common.exchange;
import static java.util.Objects.requireNonNull;
import jakarta.inject.Inject;
import java.util.HashSet;
import java.util.Set;
import org.opentcs.access.SharedKernelServicePortal;
import org.opentcs.access.SharedKernelServicePortalProvider;
import org.opentcs.common.PortalManager;
import org.opentcs.components.kernel.services.ServiceUnavailableException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Provides an {@link ApplicationPortal} for clients in the kernel control center application.
*/
public class ApplicationPortalProvider
implements
SharedKernelServicePortalProvider {
/**
* This class's logger.
*/
private static final Logger LOG = LoggerFactory.getLogger(ApplicationPortalProvider.class);
/**
* The registered clients.
*/
private final Set
© 2015 - 2024 Weber Informatics LLC | Privacy Policy