Matte objects/with shadow and reflections

Hi Guys,

I wants to render selected objects from a scene with shadow and reflections.
Like matte option in v-ray.

Please Help!!

Hi, I guess the shadowcatcher is what you need: