How can I know which tables "compose" a view?
To take some action when a database mirroring state change occurs, you have several options including WMI and Event Notifications (using the DATABASE_MIRRORING_STATE_CHANGE event):

Altering on Database Mirroring Events

If you are doing any sort of work with mirroring, I can recommend (MVP &amp; MCM) Robert Davis' book:

Pro SQL Server 2008 Mirroring