private static void assertHandleIntoOTN(MarshallerReaderContext context,
InternalWorkingMemory wm,
InternalFactHandle handle) {
Object object = handle.getObject();
InternalWorkingMemoryEntryPoint ep = (InternalWorkingMemoryEntryPoint) handle.getEntryPoint();
ObjectTypeConf typeConf = ((InternalWorkingMemoryEntryPoint) handle.getEntryPoint()).getObjectTypeConfigurationRegistry().getObjectTypeConf( ep.getEntryPoint(),
object );
final PropagationContext propagationContext = new PropagationContextImpl( wm.getNextPropagationIdCounter(),
PropagationContext.ASSERTION,
null,
null,
handle,
((DefaultAgenda) wm.getAgenda()).getActiveActivations(),
((DefaultAgenda) wm.getAgenda()).getDormantActivations(),
ep.getEntryPoint(),
context);
ep.getEntryPointNode().assertObject( handle,
propagationContext,
typeConf,
wm );
propagationContext.evaluateActionQueue( wm );