Class EntityOwnerSelectionStrategyConfig


  • public final class EntityOwnerSelectionStrategyConfig
    extends Object
    FIXME: this is simple registry service, except it also loads classes.
    • Method Detail

      • isStrategyConfigured

        public boolean isStrategyConfigured​(String entityType)
      • clearStrategies

        @Deprecated
        public void clearStrategies()
        Deprecated.
        FIXME: THIS IS CONFIGURATION FOR A CUSTOM-LOADED CLASS CONSTRUCTOR
        This class should not exist. It contains a single long, which is passed to the constructor (via reflection). We are getting that information from a BundleContext. We are running in OSGi environment, hence this class needs to be deployed in its own bundle, with its own configuration. If this is used internally, it needs to be relocated into a separate package along with the implementation using it.