Which kind of sensor for "knock" detecting

How is this bar supported? Does it lie somewhere?