Microscopic Theory of Pairing Mechanisms