Class RuntimeManagerProducer


  • @ApplicationScoped
    public class RuntimeManagerProducer
    extends Object
    Producer method used to build instances of RuntimeManager automatically by CDI container. It contains dedicated producer methods for all supported manager types:
    • singleton
    • per request
    • per process instance
    It requires two bean injected that are required for successful instantiation of RuntimeManager:
    • RuntimeEnvironment
    • RuntimeManagerFactory
    Injections are controlled with qualifiers so same should be used at injection points that should receive them
    See Also:
    Singleton, PerRequest, PerProcessInstance
    • Constructor Detail

      • RuntimeManagerProducer

        public RuntimeManagerProducer()
    • Method Detail

      • newSingletonRuntimeManager

        @Produces
        public org.kie.api.runtime.manager.RuntimeManager newSingletonRuntimeManager()
      • newPerRequestRuntimeManager

        @Produces
        public org.kie.api.runtime.manager.RuntimeManager newPerRequestRuntimeManager()
      • newPerProcessInstanceRuntimeManager

        @Produces
        public org.kie.api.runtime.manager.RuntimeManager newPerProcessInstanceRuntimeManager()