Class EntitiesContextFactoryImpl
java.lang.Object
ch.tocco.nice2.optional.drools.impl.facts.EntitiesContextFactoryImpl
- All Implemented Interfaces:
EntitiesContextFactory
-
Constructor Summary
ConstructorDescriptionEntitiesContextFactoryImpl
(QueryBuilderFactory qbFactory, EntityFactFactory entityFactFactory, Context context) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(org.kie.api.runtime.KieSession session) create a new context to work with entities in a kie session
-
Constructor Details
-
EntitiesContextFactoryImpl
public EntitiesContextFactoryImpl(QueryBuilderFactory qbFactory, EntityFactFactory entityFactFactory, Context context)
-
-
Method Details
-
create
Description copied from interface:EntitiesContextFactory
create a new context to work with entities in a kie session- Specified by:
create
in interfaceEntitiesContextFactory
- Parameters:
session
- the session to create the context for- Returns:
- the created context
-