Class MigratedServices


  • public class MigratedServices
    extends Object
    We hard code here the migrated services. This is necessary since we don't have access to CM when we need to make a decision about to whom to delegate to. We can't use the start of the pid name ("org.opennms") since features might be started from fileinstall before cm is available. This class can be deleted once we have moved all opennms plugins to cm. Migrated services come in two flavors: simple and multi. Simple services have only one instance, multi have several instances.
    • Field Detail

      • PIDS_SINGLE_INSTANCE

        public static final Set<String> PIDS_SINGLE_INSTANCE
      • PIDS_MULTI_INSTANCE

        public static final Set<String> PIDS_MULTI_INSTANCE
    • Constructor Detail

      • MigratedServices

        public MigratedServices()
    • Method Detail

      • isMigrated

        public static boolean isMigrated​(String pid)
      • isMultiInstanceService

        public static boolean isMultiInstanceService​(String pid)