What is the meaning of a “closed shop”?

A “closed shop” is a factory where all of the workers are union members.
A “closed shop” is a factory that hires both union and non-union members.
A “closed shop” is a factory where the owners are in control of setting wages.
A “closed shop” is a factory where the owners control the supply of labo