Class MigratedServices
- java.lang.Object
-
- org.opennms.features.config.osgi.del.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 Summary
Fields Modifier and Type Field Description static Set<String>
PIDS_MULTI_INSTANCE
static Set<String>
PIDS_SINGLE_INSTANCE
-
Constructor Summary
Constructors Constructor Description MigratedServices()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isMigrated(String pid)
static boolean
isMultiInstanceService(String pid)
-