What are some of the factors of inner containment? Of external containment?

What are some of the factors of inner containment? Of external containment? How do the two sets of factors work together to prevent crime?