@ApplicationScoped public class RuntimeManagerProducer extends Object
RuntimeManager
automatically by CDI container.
It contains dedicated producer methods for all supported manager types:
RuntimeManager
:
RuntimeEnvironment
RuntimeManagerFactory
Singleton
,
PerRequest
,
PerProcessInstance
Constructor and Description |
---|
RuntimeManagerProducer() |
Modifier and Type | Method and Description |
---|---|
org.kie.api.runtime.manager.RuntimeManager |
newPerProcessInstanceRuntimeManager() |
org.kie.api.runtime.manager.RuntimeManager |
newPerRequestRuntimeManager() |
org.kie.api.runtime.manager.RuntimeManager |
newSingletonRuntimeManager() |
@Produces public org.kie.api.runtime.manager.RuntimeManager newSingletonRuntimeManager()
@Produces public org.kie.api.runtime.manager.RuntimeManager newPerRequestRuntimeManager()
@Produces public org.kie.api.runtime.manager.RuntimeManager newPerProcessInstanceRuntimeManager()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.