Amazon/CreateSpace authors have the ability to choose the extended distribution option for their titles. By choosing this option, their books automatically become available through Lightning Source.
Lightning Source is Ingram Book Company's print-on-demand division, and they make CreateSpace titles (as well as other POD titles) available to Barnes & Noble and other retailers.
Barnes & Noble will only sell CreateSpace titles through BN.com and customer orders, not through in-store stocking and replenishment.