In a large saucepan, heat the oil. When the oil is hot, add the onions, celery, and bell peppers to the saucepan. Season the vegetables with salt and cayenne. Saute the vegetables for 5 minutes, or until the vegetables start to wilt. Add the bay leaves, thyme, ham hocks, and pork meat and saute for 5 to 6 minutes. Add the beans, garlic, and stock or water. Bring the liquid up to a boil and reduce to a simmer.