Class EventRegistryEngines


  • public abstract class EventRegistryEngines
    extends Object
    • Constructor Detail

      • EventRegistryEngines

        public EventRegistryEngines()
    • Method Detail

      • init

        public static void init()
        Initializes all event registry engines that can be found on the classpath for resources flowable.eventregistry.cfg.xml and for resources flowable-eventregistry-context.xml (Spring style configuration).
      • initEventRegistryEngineFromSpringResource

        protected static void initEventRegistryEngineFromSpringResource​(URL resource)
      • registerEventRegistryEngine

        public static void registerEventRegistryEngine​(EventRegistryEngine eventRegistryEngine)
        Registers the given event registry engine. No EngineInfo will be available for this event registry engine. An engine that is registered will be closed when the destroy() is called.
      • unregister

        public static void unregister​(EventRegistryEngine eventRegistryEngine)
        Unregisters the given event registry engine.
      • getEventRegistryEngineInfos

        public static List<EngineInfo> getEventRegistryEngineInfos()
        Get initialization results.
      • getEventRegistryEngineInfo

        public static EngineInfo getEventRegistryEngineInfo​(String eventRegistryEngineName)
        Get initialization results. Only info will we available for event registry engines which were added in the init(). No EngineInfo is available for engines which were registered programmatically.
      • getDefaultEventRegistryEngine

        public static EventRegistryEngine getDefaultEventRegistryEngine()
      • getEventRegistryEngine

        public static EventRegistryEngine getEventRegistryEngine​(String eventRegistryEngineName)
        Obtain an event registry engine by name.
        Parameters:
        eventRegistryEngineName - is the name of the event registry engine or null for the default event registry engine.
      • retry

        public static EngineInfo retry​(String resourceUrl)
        retries to initialize an event registry engine that previously failed.
      • getEventRegistryEngines

        public static Map<String,​EventRegistryEngine> getEventRegistryEngines()
        provides access to event registry engine to application clients in a managed server environment.
      • destroy

        public static void destroy()
        closes all event registry engines. This method should be called when the server shuts down.
      • isInitialized

        public static boolean isInitialized()
      • setInitialized

        public static void setInitialized​(boolean isInitialized)