Information Technology Reference
In-Depth Information
@org.kie.internal.runtime.manager.cdi.qualifier.Singleton an-
notation. That way, the CDI initialization will know to inject a singleton runtime manager
instance without having to declare its specific type. It can mark a RuntimeEnviron-
ment instance as well:
@Inject @Singleton
RuntimeManager manager;
@Inject @Singleton
RuntimeEnvironment environment;
Remember that CDI is called upon initialization, so always inject the manager but not the
RuntimeEngine instance.
Search WWH ::




Custom Search